y=5x y=-7x-12
Set the equations equal to each other.
5x=-7x-12
Add 7x to both sides.
12x=-12
Divide by 12 on both sides.
x=-1