evaluate expressions with 2 variables