Optimisation KKT formulating into CVX

Capture

I need to find PR where the rest of it (Ak,Bk,Ck,Dk,Ek,Fk,Gk,Hk, q1,K) are numbers. How to formulate these equations into CVX? Thanks