solve the following algebraic terms