Let's combine the expression step by step:
-
Start with the original expression: \[ (4p - 2p^2 + 8) + (5p^2 + 2p) + (7 - 3p) \]
-
Distribute and group like terms:
- Combine all the \(p^2\) terms: \[ -2p^2 + 5p^2 = 3p^2 \]
- Combine all the \(p\) terms: \[ 4p + 2p - 3p = 3p \]
- Combine all the constant terms: \[ 8 + 7 = 15 \]
-
Putting it all together, we get: \[ 3p^2 + 3p + 15 \]
Thus, the final sum is: \[ \boxed{3p^2 + 3p + 15} \]