Hello!!
Here we have a simple matter of conservation of energy. ME=PE+KE.
At point A we have PE=mgh and KE=1/2mv^2. At point A all we have is PE since the coaster isn’t rolling yet. But by conservation of energy, we know that it will have enough energy to roll down and get to and equal height on another hill. Providing we are neglecting friction and drag and resistance forces which we are in this case. So we can conclude that the KE will be greater at Point B since ME=PE+KE and for ME to remain the same and we know the PE is less on lower hill, so we can conclude that KE on lower hill is greater to keep ME the same and have conservation of energy.
Hope this helps you understand the concept!! Any questions please just ask!! Thank you so much!!