Differentiate ((q^(k+1) - 1)/(q^k (q - 1))) + ((2q^k (q - 1))/(q^(k+1) - 1)) with respect to k