solve the variable