What is the equation of a line with slope of 3 and going through the point (2, 4)

A.y = 3x - 4
B.y = 4x - 2
C.y = 3x + 6
D.y = 3x - 2