Mathematical Lens: Roller Coasters and Railways