Select the correct answer.
Which equation shows function g in factored form?

[tex]g(x)=2x^2-6x-56[/tex]

A.
g(x) = 2(x2 − 3x − 28)
B.
g(x) = 2(x − 4)(x + 7)
C.
g(x) = (2x + 7)(x − 8)
D.
g(x) = 2(x + 4)(x − 7)