Which expression is equivalent to 24g - 12g^2 + 18?

6g(4-12g +18)
12g (2 - 12g + 18)
6(4g-2g^2+3)
12g (2 -g+3)

The expression that is equivalent to 24g - 12g^2 + 18 is: 6(4g-2g^2+3)