Answer:
y = 3x -2
Explanation:
General equation of a line in the slope intercept form is
y = mx + b ,
where m is the slope and b is the y-intercept ( where intercepts the y-axis)
y = 3x + b ,
because is given slope is m = 3
For point (x = -2, y = -8) we have
-8 = 3 (-2) + b
-8 = -6 + b
-8 + 6 = b
-2 = b
The equation of the line that passes through the point (-2,-8) and has a slope of 3 is
y = 3x -2