\(5^{x+2}=125\Rightarrow5^x.5^2=125\Rightarrow5^x=125:5^2\Rightarrow5^x=5\Rightarrow5^x=5^1\Rightarrow x=1\)
\(\left|x+3\right|-\frac{1}{3}=1\)
\(\Rightarrow\left|x+3\right|=\frac{1}{3}\)
\(\Rightarrow\begin{cases}x+3=\frac{1}{3}\\x+3=-\frac{1}{3}\end{cases}\)
\(\Rightarrow\begin{cases}x=-\frac{8}{3}\\x=-\frac{10}{3}\end{cases}\)
a) 5x+2 = 125
=> 5x+2 = 52
=> x + 2 = 2
=> x = 2 - 2
=> x = 0
b) \(\left|x+3\right|-\frac{2}{3}=1\)
=> \(\left|x+3\right|=1+\frac{2}{3}\)
=> \(\left|x+3\right|=\frac{5}{3}\)
=> \(\left[\begin{array}{nghiempt}x+3=\frac{5}{3}\\x+3=-\frac{5}{3}\end{array}\right.\)=> \(\left[\begin{array}{nghiempt}x=-\frac{4}{3}\\x=-\frac{14}{3}\end{array}\right.\)