Answer:
3x - y + 7 = 0
Explanation:
The slope-intercept form of an equation of a line:

m - slope
b - y-intercept
Put the given y-intercept b = 7 and the coordinates of the point (-2, 1) to the equation:
subtract 7 from both sides
divide both sides by (-2)

We have the equation:

Convert it to the general form
:
subtract 3x and 7 from both sides
change the signs
