square has 4 sides of equal length
if the side length is p then the perimiter (distance around) is 4 times the length of the side or 4 times p or 4p
the area is side times side but since all sides are equal length, side^2 is the aera
perimiter=4p
area=p²