what is the slope-intercept form of the equation for the cost of sub at Fred's sub shop

A) y=2x
B) y=10x
C)y=5x
D)y=5x+2

D) y=5x+2