Final answer:
To solve the system of equations, we can use the substitution method.
Step-by-step explanation:
To solve the system of equations:
We can use substitution or elimination method. Let's use the substitution method:
- From the first equation, y = -3x + 1.
- Substitute this value of y into the second equation: -x + 2(-3x + 1) = 9.
- Simplify the equation: -x - 6x + 2 = 9.
- Combine like terms: -7x + 2 = 9.
- Move 2 to the other side: -7x = 9 - 2 = 7.
- Divide both sides by -7: x = 7/-7 = -1.
- Substitute x = -1 back into the first equation: y = -3(-1) + 1 = 3 + 1 = 4.
The value of x is -1 and the value of y is 4.