Multiplication and addition of numbers with exponents