Answer:
x= 1 and y= 5
The graphical solution is in the attachment.
Explanation:
There's a lot of methods for solving a system of equations. For example, the substitution method.
You have to solve one of the equations for one variable (x or y) and replace it in the other equation and solve it for that variable. Therefore you will obtain a solution and then you have to replace that solution in the first equation in order to obtain the second solution.
In this case, solving the first equation for x:
x+y=6
Adding -y both sides:
x + y - y = 6-y
x = 6-y (I)
Replacing it in the second equation:
-3x+y = 2
-3(6-y) + y = 2
Applying the distributive property:
-3(6) -3(-y) + y = 2
-18 +3y + y= 2
Adding 18 both sides:
18 -18 +4y = 2 + 18
4y = 20
Dividing by 4 both sides:
y = 20/4 =5
Replacing it in (I)
x= 6 - 5
x = 1
In order to sketch the given lines, you have to obtain two points for each one and trace the line containing those points. The solution of the system of equations is the point of intersection of the two lines.
For x+y = 6
-The intersection with the x-axis is given by replacing y=0
x + 0 = 6
x=6
P1(6,0)
-The intersection with the y-axsis is given by replacing x=0
0 + y =6
y = 6
P2(0,6)
For -3x + y = 2
-The intersection with the x-axis:
-3x + 0 =2
x = -2/3
P3(-2/3,0)
-The intersection with the y-axis:
-3(0) + y = 2
y=2
P4(0,2)
The intersection of the two lines is setting the equations equal to each other:
y = 6-x and y = 3x + 2
6-x = 3x +2
Solving for x:
6 - 2 = 3x + x
4 = 4x
x = 1
And replacing x=1 in any of the equations you will obtain the solution point (1,5)