We have to find the factored form of the expression 
Taking '3p' common from all the terms of the given expression, we get
=
(Expression 1)
Now we will find the factors of the quadratic polynomial
by middle term splitting method.
We will factorize it by finding two numbers whose sum is 9 and product is 8.
Therefore, 8 and 1 are the required numbers whose sum is 9 and product is 8.
Therefore, we will split the middle term in the expression 1.
= 
Taking 'p' common from first two terms and '8' common from the last two terms.
=![3p[p(p+1)+8(p+1)]](https://tex.z-dn.net/?f=%203p%5Bp%28p%2B1%29%2B8%28p%2B1%29%5D%20)
Taking (p+1) common.
= 
Therefore, the factored form of the given expression is
.