The general term in the expansion of (3+ax)9 is Tr+1=9Cr39−rarxr
For coefficient of x2, put r=2. ∴T2+1=9C239−2a2x2 ⇒ Coefficient of x2=9C237a2....(i)
For coefficient of x3, put r=3. ∴T3+1=9C339−3a3x3 =9C336a3x3 ⇒ Coefficient of x3=9C336a3....(ii)
Given, coefficient of x2= Coefficient of x3 9C237a2=9C336a3 [from Eqs. (i) and (ii)] ⇒29×8×3×1=69×8×7×1×a ⇒23=67×a⇒a=79