I have been working on this exercise and am kinda struggling with it. This is the exercise and what I have done so far. Any tips would be greatly appreciated!
Given the plane $x+y=0$ and two lines: $p_1: \frac{x}{3} = \frac{y+1}{1} = \frac{z-3}{-2}$ and $p_2$ (form with 2 planes): $ y=z+2$ & $x=1$ find the line $q$ that is parallel to the first plane and it intersects $p_1$ and $p_2$ in two points which distance is 3.
This is what I have so far. First, I transformed $p_2$ to canonical form: cross product of two normal vectors of given planes will give a direction vector for $p_2$ . $\vec{n_1} =(0,1,-1)$ and $\vec{n_2}=(1,0,0)$
Now for the cross product: $\vec{n_1} \times \vec{n_2} = (0,-1,-1).$
I can now choose a point that satisfies both planes of $p_2$. For e.g. $A=(1,3,1)$. By the formula, now I have a canonical line form: $p_2:\frac{x-1}{0}=\frac{y-3}{-1}=\frac{z-1}{-1}$
I also have the info about distance. Let $T_1=(x_1,y_1,z_1)$ and $T_2=(x_2,y_2,z_2)$. Their distance is 3 so I have: $\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}=3$. After the transformation I get: $(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2=3$.
Now I already have an equation with 6 unknowns. What can I do now to find the line $q$ ? I can also find form of $q$ because I know that normal vector to the $x+y=0$ is also normal vector to the $q$. Should I write $q$ in a form of $k,l,m$ or in a form of two unknown points? I also can write two determinants of $q$ and $p_1$,$p_2$ and set them equal to 0 but I don't get enough info.
Can someone please give me a hint or help? Sorry if formatting is not good, I'm trying my best. Have a nice day!
Say the point where it intersects $p_1$ is $$P_1=\left(3a,a-1,-2a+3\right)$$and where it intersects $p_2$ is $$P_2=\left(1,-b+3,-b+1\right)$$Then we know the vector $\vec{P_1P_2}$ is parallel to $q$, which is further perpendicular to the normal vector of $x+y=0$. So, $$(3a-1, a+b-4,-2a+b+2)\cdot(1,1,0) = 0 \\ 3a-1 +a+b-4=0 \\ \implies 4a+b=5$$ Also, $|P_1P_2| =3$, i.e. $$\sqrt{(3a-1)^2 +(a+b-4)^2 +(-2a+b+2)^2} =3$$ Solve the two equations to get $a,b$ and then you have two points through which $q$ passes, and you can write its equation.