We can tackle this by "brute force":
\begin{align}
0 &= y_1'' + py_1' + qy_1 \\
&= (e^t)'' + p(e^t)' + q(e^t) \\
&= e^t + pe^t + qe^t \\
&= e^t(1 + p + q)
\end{align}
and dividing through by $e^t$ we obtain $1 + p + q = 0$.
Also
\begin{align}
0 &= y_2'' + py_2' + qy_2 \\
&= (te^{-t})'' + p(te^{-t})' + q(te^{-t}) \\
&= (e^{-t} - te^{-t})' + p(e^{-t} - te^{-t}) + qte^{-t} \\
&= (-e^{-t} - e^{-t} + te^{-t}) + pe^{-t} - pte^{-t} + qte^{-t} \\
&= e^{-t}((1-t)p + tq + (t-2)
\end{align}
and dividing through by $e^{-t}$ we obtain $(1-t)p + tq + (t-2) = 0$.
Solving this linear system for $p$ and $q$ we arrive at
\begin{align}
p &= -\frac{2}{2t-1} \\
q &= \frac{3-2t}{2t-1}
\end{align}
so we conclude that the desired ODE is $$(2t-1)y'' - 2y' - (2t-3)y = 0$$