Nice exponent math simplification how to solve for x