The equation of a line passing through two points A(x1,y1,z1)and B(x2,y2,z2) is
x−x1x2−x1=y−y1y2−y1=z−z1z2−z1
Given the lines passes through the points
A(2,-3,1)
∴x1=2,y1=−3,z1=1
B(3,-4,-5)
∴x2=3,y2=−4,z2=−5
So, the equation of line is
x−23−2=y+3−4+3=z−1−5−1
so,
x−21=y+3−1=z−1−6=kx=k+2y=−k+3z=−6k+1
Let (x,y,z) be the coordinates of the point where the line crosses the plane 2x+y+z=7
Putting values of x,y,z from the equation (1) in the plane,
2x+y+z=72(k+2)+(−k+3)+(−6k+1)=72k+4−k+3−6k+1=7−5k+8=75k=8−75k=1∴k=15
putting value of k in x,y,z
x=k+2=15+2=115y=−k+3=−15+3=145z=−6k+1=−65+1=−15
therefore, the coordinates of the given points are(115,145,−15)