You can put this solution on YOUR website! What is important is to not let the fact that the coordinates for y being variables bother you.
Slope intercept form: y=mx+B
Slope formula:
Formula for y Intercept: B=y-mx
Change from convention ----- I'm using B for the y intercept because "b" is already taken by our problem for another purpose.
Do some calculations:
m=(b-a)/(7-2),
m=(b-a)/5
Pick one of the given points and use it to find B, the y-intercept.
Picking (2,a).