Toby equals 20 dollars and Mark equals 32 dollars. We need to find a number that is both divisible by 32 and 20.
Table A:20, 40, 60, 80, 100, 120, 140, 160
Table B:32, 64, 96, 128, 160.
Both numbers have 160, so find how much of what goes into it. 8 paintings from Toby and 5 from Mark.