What is the solution of the two equations x - y = 5 and 2x + y = 1?

What is the solution of the two equations x - y = 5 and 2x + y = 1?

Explanation

To solve the system of equations:

x - y = 5 ... (1)

2x + y = 1 ... (2)

Multiply equation (1) by 1 and equation (2) by 1:

x - y = 5

2x + y = 1

Add both equations:

3x = 6

Divide by 3:

x = 2

Substitute x into equation (1):

2 - y = 5

Subtract 2 from both sides:

-y = 3

Multiply by -1:

y = -3

The solution is:

{(2, -3)}