You have a system of two linear equations with two variables x and y.
The equations are:
- x + y = 5
- 3x + y = 7
To solve the system, there are various methods that can be used. Let's use the substitution or elimination method.
Using the elimination method, we can multiply the first equation by -1 to eliminate y when we add both equations. The modified equations will look like this:
-1 * (x + y = 5) becomes -x - y = -5
Now we add this equation to the second equation:
- (x + y = -5) 3x + y = 7
2x = 2
Now we can solve for x:
2x = 2 x = 2 / 2 x = 1
Now that we have the value of x, we can substitute it back into either of the original equations to solve for y. Let's use the first equation:
x + y = 5 1 + y = 5 y = 5 - 1 y = 4
So the solution to the system of equations is:
x = 1, y = 4.
