Solve the system by the substitution method

5x+7y=-18
y=5x-14

5X + 7(5X-14)=-18

5X + 35X-98=-18
40X-98=-18
40X=80
X=2
y=-4

You can check these answers by plugging into the original equations