Question: Solve the system by substitution.
y= -x + 24
y= -5x
1. **State the problem:** Solve the system of equations by substitution:
$$y = -x + 24$$
$$y = -5x$$
2. **Use substitution method:** Since both expressions equal $y$, set them equal to each other:
$$-x + 24 = -5x$$
3. **Solve for $x$:**
Add $x$ to both sides:
$$-x + 24 + x = -5x + x$$
$$24 = -4x$$
4. **Isolate $x$:**
$$x = \frac{24}{-4}$$
$$x = -6$$
5. **Substitute $x = -6$ back into one of the original equations to find $y$:**
Using $$y = -5x$$:
$$y = -5(-6)$$
$$y = 30$$
6. **Final solution:**
$$x = -6, \quad y = 30$$