I got $(x,y)R(u,v) \Leftrightarrow x + v = y + u$
I have to prove that this is a transitive relation. We did not do any examples how to do this at school so as far as I came was:
$(x,y)R(a,b) \wedge (a,b)R(u,v) \Rightarrow (x,y)R(u,v)$
how do I go on from this point?
Suppose that $(x,y)\mathcal{R}(a,b)$ and also that $(a,b)\mathcal{R}(u,v)$. We wish to show that this implies that $(x,y)\mathcal{R}(u,v)$.
Since $(x,y)\mathcal{R}(a,b)$, by our definition of $\mathcal{R}$ that means that $x+b=y+a$.
Since $(a,b)\mathcal{R}(u,v)$, by our definition of $\mathcal{R}$ that means that $a+v=b+u$.
Now, try to combine those two equations in a convenient way to make it look at the end like $x+v=y+u$. Remember that this is what the final line should look like. Do not start with this as your first line.
Hint: What does $x+b+a+v$ look like?