Find end loc from start loc, direction, and known x of end loc?

Here’s a top down view of what I mean: Imgur: The magic of the Internet

Basically I have a start point and a direction, and I need to find an end point. I know the world x of the end point but that’s it. What is the math to solve this?

If you have a starting location, and want to find the end location after traveling x units, then you could simply do (StartLoc + (Direction * Length)). If your direction is a Rotator, you’ll need to get the Forward vector of your Direction first then multiply by your length. I’m not entirely sure if that answers your question or not.

Hey, I’m aware of this method but it won’t help me here. I don’t know my length, I only know the start location, direction and the world x of my end location. I can visualize how I’d find it in the image I posted but not sure mathematically how to do that.