Why is this Mortar not working as expected?

Alright, so what you are trying to solve is a parabolic arc. @EgoMoose made a great article covering parabolic arcs and it should help you. You should check it out, as it’s a great tutorial.