It took me a cool minute to figure out was H,K were in a vertex, parabola problem in a cost-revenue quadratic thing. I got it now.