Condition for Two Lines to be on the Same Plane