Left: After eating for the first time, there are four more than the rest, that is, X-4 is left, making a total of X+(X-4). You can omit the brackets, which is X+X-4.
Right: After eating for the second time, I ate X+ 1 in total. At this time, I ate the remaining three times, and the rest was X+ 1/3, which made a total of (X+ 1)+(X+ 1)/3, which is 4 (X
Left = right, and at the same time get the formula:
X+X- 1=4(X+ 1)/3