Final answer:
The equation of the line is y = 3x + 4.
Step-by-step explanation:
The equation of a line in point-slope form is given by y - y1 = m(x - x1), where (x1, y1) are the coordinates of a point on the line and m is the slope. In this case, the slope is 3 and the point is (-1, 1). Substituting these values into the equation, we get:
y - 1 = 3(x - (-1))
Simplifying further, we have:
y - 1 = 3x + 3
To remove the parentheses, we distribute 3 to both terms inside, resulting in:
y - 1 = 3x + 3
Finally, we add 1 to both sides of the equation to isolate y:
y = 3x + 4