You have to solve one of the equations for y, and it doesn't matter which one.

6x-7y=-4 (subtract 6x from both sides)

-7y=-6x-4 (divide everything by -7)

y=6x/7 + 4/7 Now you can substitute. Generally speaking Elimination would be a much easier way to solve this to avoid the fractions.