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

He could not work the math problem.

This unpleasant situation isn't going to work itself out.

A: the same meaning

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

Break a branch from a tree.

The twig broke off the branch.

A: the same meaning

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

He sacrificed a piece to get a strategic advantage.

He wrote an interesting piece on Iran.

A:
different meanings