Does the word "extend" have the same definition in the next two sentences?

Extend the loan.

The war extended over five years.

OPTIONS:
- different meanings
- the same meaning
different meanings
Har ordet "förlänga" samma definition i de två följande meningarna? Förläng lånet. Kriget sträckte sig över fem år. Alternativ: - olika betydelser - samma betydelse
Does the word "extension" have the same definition in the following two sentences? Extend the loan. The war spanned five years. Option: - different meanings - same meaning
olika betydelser
different meanings