If "the difference of their ages is 12", then the first equation is . Also, if "the sum of their ages is 50", then the second equation is .
So let's solve this system by using substitution
Start with the given system of equations:
Now in order to solve this system by using substitution, we need to solve (or isolate) one variable. I'm going to solve for y.
So let's isolate y in the first equation
Start with the first equation
Subtract from both sides
Rearrange the equation
Divide both sides by
Break up the fraction
Reduce
---------------------
Since , we can now replace each in the second equation with to solve for
Plug in into the first equation. In other words, replace each with . Notice we've eliminated the variables. So we now have a simple equation with one unknown.