24 squares means, Area of rectangle 24 sq. cm, which comes with the following measurement of length and breadth :
1 cm and 24 cm ;
2 cm and 12 cm ;
3 cm and 8 cm and;
4 cm and 6 cm. (let 1 square = 1 sq. cm).
Conclusion : Breadth increased as length decreased, but area remain same in each case.