Q: Does "line" have the same meaning in the following two sentences?

A nice line of shoes.

They were arrayed in line of battle.

A: different meanings

Q: Does "give" have the same meaning in the following two sentences?

I give you two minutes to respond.

She gave him First Aid.

A: different meanings

Q: Does "flap" have the same meaning in the following two sentences?

He wrote on the flap of the envelope.

The flap of a sail.

A:
the same meaning