Velocity, acceleration, trajectory

A cannonball is fired  in an angle  \beta over an inclined plane of angle\alpha. Show that in order for the cannonball to hit the plane horizontally, the angles must fulfill the relation tan(\alpha)=\frac{1}{2}tan(\beta) .

figure 1 - A cannonball is fired over an inclined plane.