Final answer:
To solve the system by substitution, substitute one equation into the other and solve for one variable. The solution to the given system is x = 4 and y = 20.
Step-by-step explanation:
To solve the system of equations by substitution, we need to substitute one equation into the other and solve for one variable.
Given the equations:
y = -2x + 28 (Equation 1)
y = 5x (Equation 2)
We can substitute Equation 2 into Equation 1:
5x = -2x + 28
Now solve for x:
7x = 28
x = 4
Substitute the value of x back into Equation 2:
y = 5(4)
y = 20
So the solution to the system is x = 4 and y = 20.