The equation of a line can be written in the form y = mx + b, where m is the slope and b is the y-intercept.
Given that the slope is 2 and the line passes through the point (-3,4), we can substitute the values into the equation.
y = 2x + b
4 = 2(-3) + b
4 = -6 + b
Adding 6 to both sides, we get
10 = b
Therefore, the equation of the line is y = 2x + 10.
D) y = 2x + 10 is the correct answer.