Final answer:
The solution to the system of equations y = 5x and y = -x + 30 is x = 5 and y = 25. This is found by setting the two equations equal to each other and solving for x, then substituting back to find y.
Step-by-step explanation:
To solve the system by substitution, we first look at the two given equations:
Since we have y expressed in terms of x in both equations, we can set them equal to each other to find the value for x:
5x = -x + 30
By combining like terms, we get:
6x = 30
Divide both sides by 6:
x = 5
Now, we substitute x = 5 back into either equation to find y:
y = 5*x
y = 25
Therefore, the solution to the system of equations is x = 5 and y = 25.