Omiting all the fixed points in the second (bracket-) representation we get
$(1,i) = \begin{bmatrix} 1 & i & j \\ i & 1 & j \end{bmatrix}$
therefore
$(1,j) \circ (1,i) = \begin{bmatrix} 1 & i & j \\ i & j & 1 \end{bmatrix} = (1,i,j)$
and so we conclude
$(1,i) \circ (1,j) \circ (1,i) = \begin{bmatrix} 1 & i & j \\ 1 & j & i \end{bmatrix} = (i,j)$.
Does that make it clearer now?
EDIT: If you're not familiar with the bracket notation: It just shows which value on the top row gets mapped to which value on the bottom row. Furthermore I use the convention that if $f=(a,b,c)$ then $f(a) = b$, $f(b) = c$ and lastly if $a,b,c$ are premutations I interpret $abc = a \circ b \circ c$ so $(abc)(x) = a(b(c(x)))$.