Weight And Solve Math Equations