How to express the following Rate expression using rel_entr of CVX?

It looks like you already found most of my relevant posts.

refers to

and then finished off with

So essentially the same techniques can be used here.

x*log(1+y1/(x+y2)) = (x+y2)*log(1+y1/(x+y2)) - y2*log(1+y1/(x+y2)) = -rel_entr(x+y2,x+y2+y1) - y2*(rel_entr((x+y2)/y1,(x+y2)/y1+1)+rel_entr((x+y2)/y1+1,(x+y2)/y1))