Mastering The Mechanics: Understanding The Ma Formula For Pulleys In Simple Machines