First for the question you need to find the slope the formula for slope is:

so now you substitute the points you have into this forumla like this:

Now we know the slope is 1. We now have to find what b will be in the equation y= mx + b.
To find this out, you must choose one of the points given( you can choose either one you will still get a right answer) For this I will choose point (3,8). In the point 3 is the x value and 8 is the y value. With these numbers and the slope we found we will put them into the equation y = mx + b form it will now look like this:
8 = 1(3) + b now solve
8 = 3 + b
-3 -3
5 = b. Now you have all the numbers to put write the complete equation. The answer is this:
y = x + 5