Writing Mathematical Expressions using Variables