Oblique throw of material point

Material point is thrown with velocity v0. Between ground plane and vector of velocity v0 is angle α. Material point is inside gravity field described by gravity acceleration g. Vector of gravity acceleration g is perpendicular to ground plane. We assume that move takes place in vacuum. It means that there is no air resist. Subject of example is to find equation of trajectory and value of angle which will provide maximal range of throw.