If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
you need to deliver coal using a train. First of all you need to load the coal onto the train. Catch the coal containers with the swinging hook. Click at the correct moment to throw the hook in the desired direction. When all containers are caught, place them on the train the same way you collected them. Finally guide the train through slopes until the warehouse trying not to lose any containers on the way.