Call the amount that Adam had originally = A
Call the amount that Friday had originaly = F
We have these two equations
(A - 9) / F = 2/7
A / ( F - 9) = 7/11
Cross-multiply in each case
7 (A - 9) = 2F
11A = 7 (F - 9) simplify both
7A - 63 = 2F (1)
11A = 7F - 63 rearrange both as
7A - 2F = 63
11A - 7F = - 63 multiply the first equation by -7 and the second by 2
-49A + 14F = -441
22A - 14F = -126 add these
-27A = -567
A = -567 / -27 = 21 ( Adam originally had $21 )
And using (1) to find F
7(21) - 63 = 2F
147 - 63 = 2F
84 = 2F
84/2 = F = 42 ( Friday originally had $42 )
They originally had $63 dollars combined
