This is LaTeX code:
[latex]
=4\cdot (p(p+1)+2)
[/latex]