There are 2 planes:
$Q: 2x-y=2$
$R: x-y-z=1$
How do I find the line $p=(1,2,-1)$, which intersects $Q$ and $R$ plane.
There are 2 planes:
$Q: 2x-y=2$
$R: x-y-z=1$
How do I find the line $p=(1,2,-1)$, which intersects $Q$ and $R$ plane.
Hint:
The cross product of two normal vectors gives a vector which is perpendicular to both of the planes given in your question and is therefore parallel to the line of intersection of the two planes. You can either use the cross product to find the intersection of the two planes or find the parametric representation.
$Q$ X $R$ = $\left(\begin{array}{ccc} i& j& k \\ 2 & -1 & 0 \\ 1 & -1 & -1 \end{array}\right)$ = i$\left(\begin{array}{ccc} -1 & 0 \\ -1 & -1 \end{array}\right)$ - j$\left(\begin{array}{ccc} 2 & 0 \\ 1 & -1 \end{array}\right)$ + k$\left(\begin{array}{ccc} 2 & -1 \\ 1 & -1 \end{array}\right)$ = $ i + 2j - k$
Then we use the line P to find the intersection.