Solve the all parts of given problem:
Problem: A motorcycle stunt rider rides horizontally off the edge of a vertical cliff of height H and lands safely a distance D from the base of the cliff. Express your answers for the below in terms of h, d, and the constant g.
Part A: With what velocity did the motorcycle leave the cliff?
Part B: What was the direction of the motorcycle's velocity just before hitting the ground?
I am not able to get the correct answer for above problem please help me.