Solving Math Problems With Exponents