Recently, one of my friends have told me that the following two equations are equivalent on the basis of the number of solutions.

I checked the number of solutions to the two equations and found that his comment is right i.e the number of solutions to the two equations is equal. My question is that why the number of solutions to the two equations is equal? Can anyone explain me the reasoning behind the occurrence of such thing?
Hint
$$x_1+x_2+x_3+x_4=(x_1-2)+2+(x_2+2)-2+(x_3-0)+0+(x_4-3)+3$$ Now, change variables and bounds