Hi there!

y = mx + b
To find the equation, we can begin by deriving the slope (m):
slope = y2-y1/x2-x1
Find two points:
(0, -2) and (4, 1)
Plug these into the slope equation:
slope = 1 - (-2) / 4 - 0
slope = 3/4
We know that there is a y-intercept of y = -2 (b value), so:
y = 3/4x - 2