How can two rectangles each have an area of 12 units, but have different lengths and widths

2 * 6

is the same area as
3 * 4

both are 12
and 1 by 12 works too

and I just used whole numbers.
If you are allowed to use
2 sqrt 3 * 2 sqrt 3

and fractions you can get an infinite number of combinations