Distance and Alignment problems

I have two objects with different heights.

  1. (Top Image) May I know how to measure distance between them?
  2. (Bottom Image) I tried to align edge a (left) to edge b (right) but failed, because edge a is not a straight line but sketched with spline. Any tip to align them?

Thank you!

Did you try selecting and aligning the faces of both parts instead of the edges?

Yes, I was trying to align the faces, but failed because the grey colour side face is not extrude from line sketch but spline.

It would be easier to suggest a solution if you could share your project.

Thanks for all the replies, I finally solve the problem with translate tool. Thanks again!