Matching curves on one plane?

I have drawn two curves but it is important that they are matched in the side profile view, so the surface is exactly straight in the y direction.

Is there a command here to match these in one profile only and be able to adjust the curve in another axis?

Hello- can you post a file with the curves?