How to find the perimeter of a square