a) \(3^{a+1}=81\)
\(3^{a+1}=3^4\)
\(a+1=4\)
\(a=3\)
b) \(\left(x-1\right)^3=27\)
\(\left(x-1\right)^3=3^3\)
\(x-1=3\)
\(x=4\)
\(a,3^{a+1}=81\\ \Rightarrow3^{a+1}=3^4\\ \\ \Rightarrow a+1=4\\ \Rightarrow a=3.\\ b,\left(x-1\right)^3=27\\ \Rightarrow\left(x-1\right)^3=3^3\\ \Rightarrow x-1=3\\ \Rightarrow x=4.\)