FullSimplify[1-((q^(k+1) - 1)(q^k - 1)/(2(q-1)^2))t+q((q^k - 1)/(q-1))]