The area of a rectangle is equal to length times width.
Mathematically,

.
We can arbitrarily choose one expression for length and one for width; the result is the same.
Let's say that

cm is the length, and

cm is the width.
We simply write

.
I am assuming you did not mean to write

for the first dimension.