Evaluating expressions with variables and numbers