Tan had $60 more than Jay at first. Tan gave 25% of his money to Jay. Then Jay gave 40% of his money to Tan. Tan's mother then gave $87 to Tan. In the end, the amount of money Tan had was twice the amount of money he had at first.

(a) How much money did Jay give to Tan?
(b)How much money did Tan have in the end?

(a) Jay gave $24 to Tan.

(b) Tan had $174 in the end.