Here is the problem I am currently working on:

I am really struggling with 4b and these more general quadratic programs. I've tried applying Wolfe's method for Quadratic Programs, but that isn't working for me. Any tips on how to find optimality conditions for these more general kinds of Quadratic programs? Thanks so much!