Đặt \(5^x=t>0\)
\(\Rightarrow t^2-6t+5=0\Rightarrow\left[{}\begin{matrix}t=1\\t=5\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}5^x=1\\5^x=5\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}x=0\\x=1\end{matrix}\right.\) \(\Rightarrow0+1=1\)