It’s a bit hard to make sense of this.
What is “the desired x axis” ?
Do you mean you want to trace forward until X = a certain value ?
In this case, you are tracing towards a plane, defined by its X value.
Look into this post maybe that’s what you are looking for