Substitute the value for y in the first equation (y = -2x + 9) into the second equation:
5x = 35 - 5y ---> 5x = 35 - 5(-2x + 9)
5x = 35 + 10x - 45
5x = 10x - 10
Subtract 10x from both sides:
-5x = -10
x = 2
Since x = 2 ---> y = -2x + 9 ---> y = -2(2) + 9 ---> y = 5