How to solve this problem? Disciplined convex programming error: Cannot perform the operation: {convex} ./ {real affine}

I think is a variation on cube over square (How can I write this kind of constraint in cvx) and p-norm cone (https://docs.mosek.com/modeling-cookbook/powo.html#the-power-cone-s) . I’ll leave the details for someone else to work out.