Hello,

!
The planes x - y - z + 1 = 0 and 2x - y + 2z - 1 = 0 intersect in a line;
one set of parametric equations is: x = t, y = -1 - 4t, z = -3t.
The line has direction vector: L = <1,-4,3>.
One point on the line (when t = 0): P(0,-1,0)
The midpoint of A and B is: M(1,1,-1)
The vector PM = <1,2,-1>
The normal of the desired plane is normal to both L and PM.
The cross product of L and PM is: <10,-2,6> or <5,-1,3>.
The plane through (0,-1,0) with normal direction <5,-1,3> is:
5(x - 0) - 1(y + 1) + 3(z - 0) = 0
or:
