what are the solutions to the quadratic equation g(x)=x squarded-5x-14?

A)x=7,x=2

B)x=-7,x=2

C)x=-7,x=-2

D)x=7,x=-2