1)the equation in slope- intercept is y-y1 = m(x-x1) , but in first place you must determine the slope with the points given and the formula m = y2-y1/x2-x1,
2) x1 = 0, y1 = 4 ; x2= 1, y2= 7, m = 7-4/ 1-0 , m = 3/1 = 3
3) now wit a point and its slope determine the equation y-4 = 3(x-o)