Answer:
Part a)

Part b)

Part c)


Step-by-step explanation:
Part a)
When block reached to maximum height then block and ramp will move together.
so here we will have



Part b)
Now we can use energy conservation to find the height



Part c)
When block and ramp separate finally then we have



also by energy equation
![\frac{1]{2}(5)(5^2) = (1)/(2)(5)v_1^2 + (1)/(2)(20)v_2^2]()

by solving above equations we have

