Slope intercept form:

slope equation:

Plug the points into the slope equation:


Plug this back into the slope intercept formula:


Now plug in one of the points your given and we will solve for b:
I'll use (3, 7) but either one will work.

now plug this back into your slope intercept formula and you have your answer:

Try using the other point (7,4) to practice this technique. The answer for b will be the same for both. Hope this helped.