Condition for Two Lines to Be on the Same Plane