Since all sides of a square are equal and area = length * width, then the length of a side of a square will be equal to the square root of the area. The perimeter would be four times the length of a side.
Since the perimeter is four times the length of a side, we can determine the measure of one side, then square it to get the area.