Not too sure on this one, but I guess you can make the perpendicular vector be of the form (x1, y1, z1). Then create your first eq of the dot product involving the multiplication of the per vector and the first vector equalling zero. Then do the same for the second vector .... after which you...