huey ' s hip pizza sells two sizes of square pizzas : a small pizza that measures 12 inches on a side and costs $ 10 , and a large pizza that measures 18 inches on a side and costs $ 20 . if two friends go to huey ' s with $ 30 apiece , how many more square inches of pizza can they buy if they pool their money than if they each purchase pizza alone ?
"in the first case each can buy one pizza of $ 10 and one pizza of $ 20 . in square inches that would be ( 12 * 12 = 144 ) for the small pizza and ( 18 * 18 = 324 ) for the large pizza . in total sq inches that would be ( 144 + 324 ) * 2 = 936 sq inches . in the second case if they pool their money together they can buy 3 large pizzas . in terms of square inches that would be 3 * 324 = 972 sq inches . hence , the difference is 36 square inches more ( 972 - 936 ) . the correct answer is b"
subtract(multiply(power(18, const_2), const_3), add(add(power(12, const_2), power(18, const_2)), add(power(12, const_2), power(18, const_2))))