The TA of my course gave the impression that the problem should be trivially solved in cvx
is not one of the acceptable convexity proof methods listed in Why isn't CVX accepting my model? READ THIS FIRST!
Given that this is a school assignment, I suggest you consult your TA for further guidance.