How can formulate difference between to variable

First of all, read the links I provided in an earlier answer. If you don;t, you will never have real success using CVX to solve this kind of problem.

Read and study the links provided in my answer at Modelling of difference of a constant number and a variable in cvx . That was the advice I provided to you in that answer. So apparently, you didn’t follow my advice. Please do so now. Based on that, you should then have a good understanding of geometric programming, and how to formulate and solve geometric programs in CVX. When you finish with all that, you will know much more than me about geometric programming, and then you can answer my questions if I ever try to formulate or solve a geometric program (that’s not my area, so I haven’t put in the effort to learn it at an in-depth level).