Well the equation of a line is y=mx+c

Where m is the gradient (slope) and c is the y-intercept.

you are told what m is. Subtitute this into the equation, you get y=3x+c.

Finally sustitute in the (x,y) = (0,4) into y=3x+c to solve for c, then you are finished.