You can put this solution on YOUR website!
You have the correct outputs. As x increases by 2, then y increases by 3. So as x increases by 1, y increases by 1.5 (divide each value in half)
So the slope is m = (Change in y)/(Change in x) = 1.5/1 = 1.5
So m = 1.5
The y-intercept is (0, 4)
So the equation is y = 1.5x + 4
Note: the equation above is in the form y = mx+b where m is the slope and (0, b) is the y-intercept.
You can check this by plugging in x = 2 to get y = 7. Also you can plug in x = 4 to get y = 10