Rewrite 25p2 as (5p)2.
Rewrite 4 as 22.
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Rewrite the polynomial.
Factor using the perfect square trinomial rule a2-2ab+b2=(a-b)2, where a=5p and b=2.