Exponential equation with square roots