P(2p^2 + 3n) - 0.25n(4p - 8n) - 2n^2 = 2p^2P + 3nP - n(4p - 8n) - 2n^2 = 2p^2P + 3nP - 4pn + 8n^2 - 2n^2 = 2p^2P + 3nP - 4pn + 6n^2.
P(2p^2 + 3n) - 0.25n(4p - 8n) - 2n^2 = 2p^2P + 3nP - n(4p - 8n) - 2n^2 = 2p^2P + 3nP - 4pn + 8n^2 - 2n^2 = 2p^2P + 3nP - 4pn + 6n^2.