how to simplify fractional exponents with different bases