Answer:
As a rule of thumb, if you know only the two shorter side, their ratio is the tangent of the angle opposed to the side you use as a numerator.
If you know one side and the hypotenuse, the ratio side/hypotenuse is either the sine of the opposite angle, or the cosine of the adjacent angle.
Slope = (-2 + 4)/(-2-2) = 2/-4 = -1/2
y = mx + b
so
b = y - mx
b = -2 -(-1/2)(-2)
b = -2 - 1
b = - 3
equation
y = -1/2x - 3
answer is B.
y = -1/2x - 3