Find all triples $(f,g,h)$ of injective functions from the set of real numbers to itself satisfying \begin{align*} f(x+f(y)) &= g(x) + h(y) \\ g(x+g(y)) &= h(x) + f(y) \\ h(x+h(y)) &= f(x) + g(y) \end{align*} for all real numbers $x$ and $y$.
I have found a solution to this problem which goes like this: Let $\omega$ denote the cyclic sum with $f,g,h$ Just by switching $x$ with $y$ and summing up.
We have $$\omega (f(x+f(y)))=\omega (f(y+f(x)))\tag1$$ Now,
$$f(y+f(x))=g(y)+h(x)\tag2$$ $$g(x+g(y))=h(x)+f(y)\tag3$$
$(2)-(3)$ gives,
$$f(y+f(x))-g(x+g(y))=g(y)-f(y)\tag4$$
Now just using (4) after a rearrangement by sending $g,h$ from L.H.S. to the R.H.S. and sending $h$ from R.H.S. to L.H.S.. we get $h(x)-f(x)=h(y)-f(y)$,..... (I'm not including the rest of the solution as it's not relevant to this post) $$\underline{\textbf{My Doubt:}}$$ What does it mean by "Now just using (4) after a rearrangement by sending $g,h$ from L.H.S. to the R.H.S and sending $h$ from R.H.S. to L.H.S.." and how does it imply $$h(x)-f(x)=h(y)-f(y)$$ please can anyone show the intermediatary steps that gets you to $$h(x)-f(x)=h(y)-f(y)$$ Thanks.