Simplifying the square root of a square number and exponent