solve the system of equations

3x+y=2
7x-4y=30

1 answer

To solve the system of equations, we can use either the substitution method or the elimination method. Let's use the elimination method:

First, multiply the first equation by 4 to eliminate the y term:

4(3x + y) = 4(2)
12x + 4y = 8

Next, write out both equations:

12x + 4y = 8
7x - 4y = 30

Add the two equations together:

(12x + 4y) + (7x - 4y) = 8 + 30
12x + 7x = 38
19x = 38
x = 38/19
x = 2

Substitute the value of x back into the first equation to solve for y:

3(2) + y = 2
6 + y = 2
y = 2 - 6
y = -4

Therefore, the solution to the system of equations is x = 2 and y = -4.