For the linear function g, the graph of y=g(x) in the xy-plane has a slope of −5 and passes through the point (0,0). Which equation defines g?
g(x)=5x
g(x)=x−5
g(x)=−5x
g(x)=−5x+5