A large square is divided into 4 small congruent rectangles and a small square as shown. The areas of the large and small squares are 25 and 1, respectively. What is the length of a diagonal of a small rectangle?