The marble is release from the top of the ramp.Gravitational potential energy decreases as it roll down the ramp,at the same time the marble gains kinetic energy as well as a lost of energy in the form of heat due to friction.
Chenge in PE=change in KE
therefore energy remains the same on all parts of the ramp