Figure shows that particle A is projected ,from point P with velocity u along the plane and simultaneously another particle B with velocity v at an angle with vertical. The particles collide at point Q on the plane. Then
If the particles collide at Q, it means they travel same displacement along the plane in same time. So their P velocity components along the plane should be same.
and
Solve to get v