Parallel projection of point onto curve


how do I project the point marked with yellow circle on to the red line, it needs to be parallel with the blue line ?

The line I want to project the point onto is not in the same plane as the other line.

I tried different methods, by using perp frames and the curve plane intersection, I just don’t get a parallel projection