I Understand All Of Your Kequations And Basic

A cannon can shoot whatever cannons shoot at different angles to the horizon, but with the same initial velocity. At what angle does the cannon shoot to a maximal distance? What
would be that angle on the moon? Science