Simplification of (p+a)5=3p yields :
The given expression: 3x2+3y+5z2 +10p+6y+8x2, on simplification gives: