First, let's call Albert's age: aa. And, let's call Bob's age: bb
Now, we can write:
2a + b = 752a+b=75
(a + 3) + (b + 3) = 64(a+3)+(b+3)=64 or a + b + 6 = 64a+b+6=64
Step 1) Solve the first equation for bb:
-color(red)(2a) + 2a + b = -color(red)(2a) + 75−2a+2a+b=−2a+75
0 + b = -2a + 750+b=−2a+75
b = -2a + 75b=−2a+75
Step 2) Substitute (-2a + 75)(−2a+75) for bb in the second equation and solve for aa:
a + b + 6 = 54a+b+6=54 becomes:
a + (-2a + 75) + 6 = 64a+(−2a+75)+6=64
a - 2a + 75 + 6 = 64a−2a+75+6=64
1a - 2a + 75 + 6 = 641a−2a+75+6=64
(1 - 2)a + 81 = 64(1−2)a+81=64
-1a + 81 = 64−1a+81=64
-a + 81 - color(red)(81) = 64 - color(red)(81)−a+81−81=64−81
-a + 0 = -17−a+0=−17
-a = -17−a=−17
color(red)(-1) * -a = color(red)(-1) * -17−1⋅−a=−1⋅−17
a = 17a=17
Step 3) Substitute 1717 for aa in the solution to the first equation at the end of Step 1 and calculate bb:
b = -2a + 75b=−2a+75 becomes:
b = (-2 * 17) + 75b=(−2⋅17)+75
b = -34 + 75b=−34+75
b = 41b=41
The solution is:
Albert is 17 and Bob is 41