Right triangles $T_1$ and $T_2$ have areas $2$ and $3$, respectively. A side of $T_1$ is congruent to a side of $T_2$, and a different side of $T_1$ is congruent to a different side of $T_2$. What is the square of the product of the lengths of the other (third) sides of $T_1$ and $T_2$?