Respuesta :

first expand the brackets which will give you
[tex]pq {}^{2} + q { }^{2} + 3p \: + 3[/tex]
then factor them
[tex](q {}^{2} + 3)(p + 1)[/tex]

The answer is (p+1) (q^2+3)