Solve the system by substitution.

y, equals, minus, 2, x
y=
−2x
5, x, minus, 7, y, equals, minus, 38
5x−7y=
−38

First, we substitute y with -2x in the second equation:

5x - 7(-2x) = -38
5x + 14x = -38
19x = -38
x = -38/19
x = -2

Now that we have the value of x, we can substitute it back into the first equation to find the value of y:

y = -2(-2)
y = 4

Therefore, the solution to the system of equations is x = -2 and y = 4.