Doubt from quiz on divide&conqr

please solve question no. 8 using master theorm.