Mastering Word Problems: Transforming Sentences Into Powerful Equations