Question: "answer" used in the same way in the following two sentences?

Answer the riddle.

Answer a question.
Answer: the same meaning
Question: "close" used in the same way in the following two sentences?

Close up an umbrella.

Her arms closed around her long lost relative.
Answer: different meanings
Question: "end" used in the same way in the following two sentences?

He came to a bad end.

One end of the box was marked 'This side up'.
Answer: different meanings
Question: "act" used in the same way in the following two sentences?

The governor should act on the new energy bill.

The nanny acted quickly by grabbing the toddler and covering him with a wet towel.
Answer:
the same meaning