The production function is Q = L^0.25*K^0.25 and the respective unit input prices for L and K are w=4 and r=9. Derive the long-run least cost as a function of Q, and derive the marginal cost and average cost to characterize the shape of the total cost curve.