minimum ax - 2cx^2