Line p in the xy-plane has a slope of 3 and passes through the point (1,7). Which equation defines line p?
y=3x+4
y=3x+6
y=7x+1
y=7x+3