A linear function g has a graph in the xy-plane that contains the points (−2,8) and (2,0). Which of the following equations represents g(x)?
g(x)=2x+12
g(x)=−2x+4
g(x)=−4x+0
g(x)=21x+9