as it retraces its path clearly the ball will fall normally on the plane :P
let the angle with which it was thrown w.r.t the plane be β
we have .. vcosβ-gsinθt=0 thus t=vcosβ/gsinθ
further .. 0=vsinβt-gcosθt2/2 thus t=2vsinβ/gcosθ
further as distance =L
vcosβt-gsinθt2/2=l
solving these equations we get v = √(2lg*(cos2θ/4 + sin2θ)/sinθ