Given these two equations:
1) 5x + y = 2
2) 4x + y = 4
Let's solve for x and y step by step.
Step 1: We start by subtracting equation (2) from equation (1) to eliminate y:
This gives us:
5x - 4x = 2 - 4
Which simplifies to:
x = -2
Step 2: Now, we substitute x = -2 into the equation (1) to find the value of y:
5*(-2) + y = 2
Which simplifies to:
-10 + y = 2
And therefore:
y = 12
So, the solution to the system of equations is x = -2 and y = 12.