For a matrix multiplication to be possible the columns of the first matrix must be equal to the rows of the second matrix. As the transformation matrix has 2 columns and the matrix $T_1$ has 2 rows then multiplication is possible.
In this example we need to find a matrix $M$ such that $$MT_1=T_2$$
If we let $$M=\begin{pmatrix}
a& b\\
c& d
\end{pmatrix}$$
Then we have to find $a,b,c,d$ such that:
$$\begin{pmatrix}
a & b\\
c & d
\end{pmatrix} \begin{pmatrix}
1&1&3 \\
1& 2&1\\
\end{pmatrix}=\begin{pmatrix}
1&1&3 \\
3&6&3 \\
\end{pmatrix}$$
Which implies:
$$\begin{pmatrix}
a+b&a+2b&3a+b \\
c+d&c+2d&3c+d \\
\end{pmatrix}=\begin{pmatrix}
1&1&3 \\
3&6&3 \\
\end{pmatrix}$$
You should then be able to find $a,b,c,d$
You can check if you have the right transformation matrix by working out the area of the two triangles (they are both right angled so it's easy). The determinant of your transformation matrix should be the factor by which the area has increased/decreased.