an order was placed for a carpet whose length and width were in the ratio of 3 : 2 . subsequently , the dimensions of the carpet were altered such that its length and width were in the ratio 2 : 1 but were was no change in its perimeter . what is the ratio of the areas of the carpets ?
"let the length and width of one carpet be 3 x and 2 x . let the length and width of the other carpet be 2 y and y . 2 ( 3 x + 2 x ) = 2 ( 2 y + y ) 5 x = 3 y ( 5 / 3 ) * x = y the ratio of the areas of the carpet in both cases : = 3 x * 2 x : 2 y * y = 6 x ^ 2 : 2 y ^ 2 = 6 x ^ 2 : 2 * ( 25 / 9 ) * x ^ 2 = 54 : 50 = 27 : 25 the answer is e ."
divide(rectangle_area(3, 2), rectangle_area(divide(divide(rectangle_perimeter(3, 2), 2), add(2, 1)), multiply(divide(divide(rectangle_perimeter(3, 2), 2), add(2, 1)), 2)))