Mortar Trajectory

What exactly are you trying to determine:

(1) what angle/launch velocity the mortar needs to be at for a projectile fired from it to hit a specified target location? Or

(2) where a projectile will land (and/or its airborne trajectory) given a specified angle and launch velocity?

The latter is substantially more complicated but I’ve done something really similar for my game and I can share my approach.