Vijoy,
This lisp will work for you. Link: - https://www.cadtutor.net/forum/topic/33301-3d-polyline-intersection/?do=findComment&comment=270303
A great code by David Bethel and enhanced by Lee Mac. Kudos to those two.
For it to work it appears that you need to have UCS set to world and be in top view.
I tried it on your example drawing and it works. Run the lisp, pick one end of your X-X line then pick the other end of the X-X line.
A 3D polyline will be drawn passing through the theoretical intersection points.