1 answer
(click or scroll down)
find a line in each plane
the cross product of those two vectors is perpendicular to them both.
Then translate the vector so it passes through P.