A linear function g is represented by a line in the xy-plane that has a slope of −21 and crosses the y-axis at (0,3). Which equation defines g(x)?
g(x)=3x−21
g(x)=−21x+3
g(x)=2x+3
g(x)=−2x+3