Form algebraic equations from word problems (#338)