Mr. Loh had some 10 bills, 5 bills, and 2 bills in his wallet. He had 159. 1/5 of them were 10 bills, 3 fewer than 1/2 of the remaining bills were 5 bills and the rest were 2 bills. How many 2 bills were there altogether?
x = number of bills in his wallet
The values are as follows:
1/5 (x ) ( 10 ) + (2/5 x -3) (5) + ( 2/5 x +3) (2) = 159
2x + 2x - 15 + 4/5 x +6 = 159
x = 35 bills
2/5 (35) + 3 = 17 two dollar bills