A firm produces two different goods A& B. The cost of producing x units of A and y units of B is C(x,y)=2x^2-4xy+4y^2-40x-20y+514. The firm sells all output at price of A=$24 and price of B=$12. Find the productions level x, and y that maximize profit.