Find the length of square