Let $R_1$ and $R_2$ be the relations on $\{1, 2, 3, 4, 5\}$ defined by
$$R_1 = \{(1,1),(2,3),(2,4),(3,5),(5,2),(5,5)\}$$
$$R_2 = \{(1,1),(2,2),(2,3),(2,5),(4,3),(5,5)\}$$
The answer for this is below but I'm not sure how they arrived at this answer.
Answer: $$R_2 \circ R_1 = \{(1,1),(2,3),(2,4),(2,5),(4,5),(5,5)\}$$
What I got: $$R_2 \circ R_1 = \{(1,1),(2,3),(2,4),(2,5),(2,2),(4,5),(5,5)\}$$
$$1\to1\to1$$ $$2\to2\to3$$ $$2\to2\to4$$ $$2\to3\to5$$ $$2\to5\to2$$ $$4\to3\to5$$ $$5\to5\to5$$
But, as pointed out by @Rag in the comments, there is one additional:
$$5\to5\to2$$
And, as pointed out by @MithleshUpadhyay, a second way to obtain $(2,5)$ is $$ 2\to5\to5$$