Let's keep it as simple as can be.
(The Solutionsbook, normally very good, gives a pretty difficult solution...)
We make a table for the possibilities of the squares.
We start with the area of 16 squared cm, because that has very few possibilities. Only 3, see next slide!