Solve one of these equations for yy to make substitution possible. The second equation appears best suited for this:
-7x+y=29−7x+y=29
y=7x+29y=7x+29
We can now replace all instances of yy in the first equation with 7x+29:7x+29:
3x+6(7x+29)=-63x+6(7x+29)=−6
3x+42x+174=-63x+42x+174=−6
45x=-6-17445x=−6−174
45x=-18045x=−180
x=-180/45x=−18045
x=-4x=−4
To find y,y, plug in the result above into either of the two equations. We solved the second one for y,y, so that will be the easiest one to use:
y=7(-4)+29y=7(−4)+29
y=1y=1