how do i do 5p^2+80p+320...i need to factor it and i don't get it at all..explain plz :)

5p^2+80p+320 = 5(p^2 + 16 p + 64) =

5(p + 8)^2