Let's rewrite your equation :
$$\frac {\sin(t_1)+\cos(t_1)}{\sin(t_1)\cos(t_1)} =\frac {\sin(t_2)+\cos(t_2)}{\sin(t_2)\cos(t_2)}$$
that you may multiply by $\frac 12\sin\left(\frac{\pi}4\right)$ and rewrite as :
$$\frac {\sin\left(t_1+\frac {\pi}4\right)}{\sin(2\;t_1)} =\frac {\sin\left(t_2+\frac {\pi}4\right)}{\sin(2\;t_2)}$$
We could 'linearize' this to obtain :
$$\sin\left(t_1+\frac {\pi}4\right)\sin(2\;t_2)=\sin\left(t_2+\frac {\pi}4\right)\sin(2\;t_1)$$
But it will be more convenient to set $\;x_1:=t_1+\frac {\pi}4,\ x_2:=t_2+\frac {\pi}4\;$ and get (since $\sin\bigl(2x-\frac {\pi}2\bigr)=-\cos(2x)$ and reverting the fractions) :
$$\frac{\cos(2\;x_2)}{\sin(x_2)}=\frac{\cos(2\;x_1)}{\sin(x_1)}$$
and rewrite :
$$\frac{\cos(2\;x)}{\sin(x)}=\frac {1-2\sin(x)^2}{\sin(x)}=\frac 1{\sin(x)}-2\;\sin(x)$$
Since the solutions of $\frac 1s-2s=r$ are obtained by resolving $2s^2+rs-1=0$ with solutions $\;s=\frac{-r\pm\sqrt{8+r^2}}4$ we may deduce, for $s=\sin(x_2)$ and $r=\frac{\cos(2\;x_1)}{\sin(x_1)}$, that :
\begin{align}
\sin(x_2)&=\frac{-\cos(2\;x_1)\pm\sqrt{8\;\sin(x_1)^2+\cos(2\;x_1)^2}}{4\;\sin(x_1)}\\
&=\frac{-\cos(2\;x_1)\pm\left(2-\cos(2\;x_1)\right)}{4\;\sin(x_1)}\\
\end{align}
With the two different solutions :
\begin{align}
\sin(x_2)&=\frac{1-\cos(2\;x_1)}{2\;\sin(x_1)}=\sin(x_1)\\
\sin(x_2)&=-\frac{1}{2\;\sin(x_1)}\\
\end{align}
From this we deduce the four different solutions (modulo $2\pi$) :
\begin{align}
x_2&=x_1\\
x_2&=-\arcsin\left(\frac{1}{2\;\sin(x_1)}\right)\\
x_2&=\pi-x_1\\
x_2&=\pi+\arcsin\left(\frac{1}{2\;\sin(x_1)}\right)\\
\end{align}
The substitution $t_1=x_1-\frac {\pi}4$ and $t_2=x_2-\frac {\pi}4$ should give you the wished solutions.