How did nationalism lead to expansionism? Please explain your answer :)

a. People wanted to settle new lands
b. Countries needed more resources to improve their own country
c. Nations were set on having an empire across the oceans
d. Territories were settled that had similar languages and customs

(It is NOT C!)