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

You'll pay for this opinion later.

He was allowed to go as soon as he paid.

A: different meanings

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

I tried to follow her prescription for success.

He told the doctor that he had been taking his prescription regularly.

A: different meanings

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

The local train does not connect with the Amtrak train.

The planes don't connect and you will have to wait for four hours.

A:
the same meaning