we have the system of equations
-3x-y=2 ------> equation A
y=1 ------> equation B
step 1
To graph the lines we need two points
so
Find out the intercepts
-3x-y=2
y-intercept (value of y when the value of x is zero)
For x=0
-3(0)-y=2
-y=2
y=-2
y-intercept is (0,-2)
x-intercept (value of x when the value of y is zero)
For y=0
-3x-0=2
-3x=2
x=-2/3
Find out another point (because the x-intercept is a decimal)
For x=2
-3(2)-y=2
y=-8
other point is (2,-8)
Plot the points, and join them to graph the line
For the line
y=1 -----> is a horizontal line that passes through the point (0,1)
step 2
Graph the lines
using a graphing tool
see the attached figure
the solution is the intersection point both lines
In this problem, the solution is the point (-1,1)