Or search by topic
The side length of the square is equal to the diagonal of the unit square, as shown in the diagram on the right, where the red length is the side of the new square and the blue square is a unit square.
Sticking four of these together, as shown on the left, draws the whole square. The unit squares fit perfectly together as the red lines split them in half, and so each angle is 90$^\text o $
or 45$^\text o$.
If this square is a unit square, then its diagonal, shown in red, will be the side length of the square. What are the possible dimensions of a rectangular hallway if the number of tiles around the perimeter is exactly half the total number of tiles?