Answer:
Part a)

Part b)

Step-by-step explanation:
Part a)
As we know that there is no friction on the inclined plane
So we can use energy conservation for both planes
For longer plane we will have




Part b)
On shorter plane the speed while it leave the plane at height H1 is given as



now the maximum height of projectile is given as



so we have

