\(3^{x-1}+5.3^{x-1}=162\)
\(\Rightarrow3^{x-1}\left(5+1\right)=162\)
\(\Rightarrow3^{x-1}.6=162\)
\(\Rightarrow3^{x-1}=27\)
\(\Rightarrow3^{x-1}=3^3\)
\(\Rightarrow x-1=3\)
\(\Rightarrow x=4\)
\(3^{x-1}+5.3^{x-1}=162\Rightarrow3^{x-1}\left(1+5\right)=162\Rightarrow3^{x-1}.6=162\)
\(\Rightarrow3^{x-1}=162:6\Rightarrow3^{x-1}=27\Rightarrow x-1=3\Rightarrow x=4\)