2x+y=15 and y=−x+5.

1 answer

We can solve this system of equations by substitution.

We are given that y = -x+5. We can substitute this expression for y in the first equation:

2x + y = 15
2x + (-x+5) = 15

Simplifying the left-hand side:

2x - x + 5 = 15
x + 5 = 15

Subtracting 5 from both sides:

x = 10

Now that we know x = 10, we can use the second equation (y = -x+5) to find y:

y = -x+5
y = -(10) + 5
y = -5

Therefore, the solution to this system of equations is (x,y) = (10,-5).