Mechanics dynamics - material point slides from slope

At the peak of the slope is material point. On time t=0 material point starts sliding down. Slope has triangle shape and stands on the ground. There is no friction between ground and slope's base. Gravity field works on slope and material point. Gravity field is described by gravity acceleration g. Subject of example is to find road S which slope has traveled during material point sliding from it.