\(5^{2x+1}=125^{x+25}\)
\(\Rightarrow5^{2x+1}=\left(5^3\right)^{x+25}\)
\(\Rightarrow5^{2x+1}=5^{3x+75}\)
\(\Rightarrow2x+1=3x+75\)
\(\Rightarrow3x-2x=1-75\)
\(\Rightarrow x=-74\)
\(5^{2x+1}=125^{x+25}\)
\(\Rightarrow5^{2x+1}=\left(5^3\right)^{x+25}\)
\(\Rightarrow5^{2x+1}=5^{3x+75}\)
\(\Rightarrow2x+1=3x+75\)
\(\Rightarrow-x=74\)
\(\Rightarrow x=-74\)