At the top of the hill, the cars have a great deal of gravitational potential energy, equal to the cars' weight multiplied by the height of the hill. When the cars are released from the chain and begin coasting down the hill, potential energy transforms into kinetic energy until they reach the bottom of the hill.