Answer: x = 3 and y = 0
Explanation:
These two are linear equations. It means that they are straight lines.
When we are solving these two equations, we are finding the point where these two lines meet each other and that point will be common to both these equations.
Now,
y = -x + 3 (equation 1)
y = 2x - 6 (equation 2)
We know that point will be the same for these two equations, so put the value of y of equation 1 in equation 2.
-x + 3 = 2x - 6
-3x = -9
x = -9/-3
x = 3
Now, find value of y.
y = -x + 3
y = -3 + 3
y = 0
(3, 0) is where these equations meet each other.