basic exponent solution