select the equation that represents a linear function and whose graph is a straight line assume a, b, h, and k are all nonzero real numbers.

A. y = a(x - h)^2 + k
B. y = a|x - h| + k
C. y = a^x
D. y = mx + b

D. y = mx + b