2x+y=15 and y = -x+5

the correct coordinates of intersection are 10,-5, can you explain how we got that answer

To find the coordinates of the intersection of two lines, you need to solve the system of equations formed by the two lines.

The two equations given are:
1) 2x + y = 15
2) y = -x + 5

We can substitute the value of y from equation 2 into equation 1 to eliminate y and solve for x:

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

Now that we have found x = 10, we can substitute this back into equation 2 to find y:

y = -10 + 5
y = -5

Therefore, the correct coordinates of the intersection are (10, -5).