Prerequisites
One can do this problem and get good results with the use of tables of data. One needs to know the motion equations for two dimensional projectile motion. No resistance is presumed here.
One can use the calculus of one variable to solve for determining the angle of elevation for a projectile to attain maximum range along a horizontal plane.
One can also determine the combination of angle and distance up an inclined plane to give range or maximum range. This problem is a function of two variables and can be solved using optimization techniques (partial derivatives).