The equation of line passes through the point (x_1,y_1) and (x_2,y_2) is,

Substitute the coordinates of the points in the equation to obtain the equation of line.

The general equation of line with slope m and y-intercept b is,

On compare the general equation with y=5x+4, it can be observed that slope is m=5 and y intercept b is 4.
So answer is m=5 and b=4.