The side of the square is the hypotenuse of the isosceles right triangle whose side length is PX. Hence the side length is 6√2. The sum of the 4 side lengths is the perimeter, so is ...
The reflection of the point (x,y) across the x-axis is the point (x,-y), so take the coordinates of each point and change them accordingly then graph them.