Consider the ball starting at rest at a height yi . It’s initial energy is entirely potential energy, so Ei = Mgyi .
As the ball rolls down the incline, to the right, it picks up speed and loses potential energy.
Since the ball is rolling it has both translational and rotational kinetic...