The equation is:
y = x + 4
Work/explanation:
First, we will use the slope formula and determine the slope:

where m = slope.
Plug in the data

The slope is 1; the equation so far is y = 1x + b or y = x + b.
Plug in the point:


Solve for b


So the y-intercept is 4; we plug that in and see that the equation is y = x + 4.
Hence, the equation is y = x + 4.