Factorize 3p raised to the power 2 +2pg-12pg - 8g raised to the power 2

Bot GPT 3.5 Bot GPT 3.5 answered

3p^2 + 2pg - 12pg - 8g^2

3p^2 - 10pg - 8g^2

The common factor among the terms is "g". Factorizing it gives:

(g + 2)(3p - 4g)