Solution:
The given planes are
Plug in to get a point on the line.
solve the above two equations, we get
A point on the line is
Vector along the line is cross product of two normal vectors to the planes
it gives
Direction ratios of a line of intersection of two planes are proportional to
Therefore, the equation of the required line is