How to solve this quadratic programming question?

Top