x−x1x2−x1=y−y1y2−y1=z−z1z2−z1
here we have (x1,y1,z1)=(1,1,−1) (x2,y2,z2)=(−1,0,1)
We have the equation of line as,
x−1−2=y−1−1=z+12
Point on the line can be written as (−2p+1,−p+1,2p−1)
Now to find intersection with xy plane we put z=0,
2p−1=0,p=1/2
Point of intersection after putting p is (0,1/2,0)