a: =>\(4\cdot3^x\cdot\dfrac{1}{3}+2\cdot3^x\cdot9=4\cdot3^6+2\cdot3^9\)
=>3^x(4*1/3+2*9)=3^6(4+2*3^3)
=>3^x*58/3=3^6*58
=>3^x/3^6=3
=>x-6=1
=>x=7
b: =>\(2^x\cdot\left(\dfrac{1}{5}+\dfrac{1}{3}\cdot2\right)=2^7\left(\dfrac{1}{5}+\dfrac{1}{3}\cdot2\right)\)
=>2^x=2^7
=>x=7