I saw this problem and read through it but I am still kind of confused as to what $u_1$ and $u_2$ stand for.
Prove by contradiction that for a transitive relation $R$ on $A$, $R^2$ is also transitive
I guess I am a bit lost on what $R \circ R$ actually means. I understand with functions but with relations I am iffy.
Suppose that $R$ is transitive, and suppose that $(x,y),(y,z)\in R^2$. We want to show that $(x,z)\in R^2$.
By definition, if $(x,y)\in R^2$ then there is an element $u$ "connecting $x$ with $y$, that is, such that $xRu$ and $uRy$. Since $R$ is transitive, this implies $xRy$. Using a similar argument we can show that $yRz$.
So, since there is an element $w=y$ "connecting $x$ with $z$, we can conclude that $(x,z)\in R^2$.
If you understand the composition with functions, you might think about the special relation given by $xRy$ iff $f(x)=y$. Then, you will realize that $(x,z)\in R^2$ if and only if there is $y$ such that $xRy$ and $yRz$, that is, $f(x)=y$ and $f(y)=z$. Equivalently, $(x,z)\in R^2$ if and only if $z=(f\circ f)(x)$.