Proving Sum Of Arithmetic And Geometric Progression