Two particles released from the same height and reached the base at the same time

Problem
Particles A and B are elevated 12 meters high from a given reference base. Particle A is projected down an incline of length 20 meters at the same time particle B is let to freely fall vertically. Find the velocity of projection of particle A if both particles strikes the base at the same time.
 

Solution