The area of a square is numerically 3 less than the perimeter. Find the length of the side, if the side is greater than 1.