I'm having a hard time seeing how the quotient law for tensors is used it the following example of Riley, Hobson and Bence (3rd).
Preceding the example, it reads
Use of the quotient law to test whether a given set of quantities is a tensor is generally much more convenient than making a direct substitution. A particular way in which it is applied is by contracting the given set of quantities, having N subscripts, with an arbitrary $N$th order tensor (i.e. having independently variable components) and determining whether the result is a scalar.
If one contracts a given set of quantities, having $N$ subscripts, with an arbitrary $N$th order tensor, isn't the result then by definition not always a scalar? How is the quotient law used in this statement?
Use the quotient law to show that the elements of $T= \begin{pmatrix} x_2^2 & -x_1x_2 \\ -x_1x_2 & x_1^2\end{pmatrix}$ are the components of a second-order tensor.
The outer product $x_ix_j$ is a second-order tensor. Contracting this with $T_{ij}$ we obtain $$ T_{ij}x_ix_j = x_2^2x_1^2-x_1x_2x_1x_2-x_1x_2x_2x_1+x_1^2x_2^2 $$ which is clearly invariant (a zeroth-order tensor). Hence, by the quotient theorem $T_{ij}$ must also be a tensor.
The quotient law, as mentioned, is introduced as follows. If we know that $\mathbf B$ and $\mathbf C$ are tensors and also $$ A_{pq\ldots k\ldots m} B_{ij \ldots k \ldots n} = C_{pq \ldots mij \ldots n}, $$ does this imply that the $A_{pq\ldots k\ldots m}$ also form the components of a tensor? The quotient law says this is true if the relation holds in all rotated coordinate frames. It then proves it for $N=M=2$. The subscript $k$ that has been contracted may be any of the subscripts in $\mathbf A$ and $\mathbf B$ independently.
Never does the text mention anything about contracting in using the quotient law.
How is the quotient law used in the example?