For some set called $A$, $\operatorname{id}A = \{(x,x): x ∈ A\}$. $R$ is a binary relation over $A$ $(R⊆A)$.
I need to prove that: $\operatorname{id}A ∘ R = R ∘ \operatorname{id}A = R$
I really do not understand what are the steps in order to prove that kind of a question. since it's such a trivial question I couldn't find a detailed proof anywhere.