how to convert area to perimeter of a square