This question was asked in Ex 7.9, 12
Integration of a^x 

chandan jha's image