Respuesta :

2g^3+24g^2-g-1 is the answer