Minimize[300 * (x1 - 1) ^ 2 400 * (x1 - 0.8)^2 4500 * (x2 - x1) ^ 2 4500 * (x3 -x2)^2 500 * (1.2 - x3)^2, {x1, x2, x3}]