The perimeter of a rectangle is 42m , and the area of the rectangle is 54m^2 . Find the dimensions of the rectangle.

2(x+y)=42

x+y=21
xy=54

x + 54/x = 21

x^2 - 21x + 54 = 0
(x-18)(x-3) = 0
x=18 y=3
or
x=3,y=18

Either way, the rectangle is 3x18