Remember that the formula of the area of a rectangle is

Where l is the length and w is the width.
Then, we need to find all the possible pairs of numbers l and w such that

The case given by the problem is 2*4=8 but there are many more, for example

Or even

There are infinite rectangles with areas equal to 8cm^2