A rectangular room has a perimeter of 94 and area of 546. What are the dimensions of the room?

a b = 546

a + b = 47

(47-b)*b = 546

b^2 -47b + 546 = 0
(b-26)(b-21) = 0

b = 21 or 26; a is 26 or 21.