Let point $\displaystyle M(-2,-1,3)\in$ of line $\displaystyle l$

Write the equation of $\displaystyle l$ in space if it is parallel with plane $\displaystyle 5x-y-z-4=0$ , and $\displaystyle l$ is perpendicular with line $\displaystyle d $ that is given with the system of equations (from the planes) $\displaystyle \pi1: 3x-y-5=0$ and

$\displaystyle \pi2 : 2x-z-2=0$