Some cool physics questions

Can you explain how these work?