Joe and Mary each pay the same price for a T-shirt. Before they buy it, Mary has $2 more than Joe. To buy the T-shirt, Joe spends $1 less than 2/5 of his money, and Mary spends 1/3 of her money. What was the total amount of money Joe and Mary originally had altogether?
Let the amount Joe had =J
Let the amount Mary had =J+$2
1/3(J+2) =2/5J - 1, solve for J
J = $25 - the amount Joe started with
$25 + 2 =$27 - the amount Mary started with
$25 + $27 =$52 - they had together.