we have the equations
[tex]\begin{gathered} y=-2(5)^x \\ y=18 \end{gathered}[/tex]Solve the system of equations
Equate both equations
[tex]-2(5)^x=18[/tex]Solve for x
[tex]\begin{gathered} (5)^x=-\frac{18}{2} \\ 5^x=-9 \end{gathered}[/tex]The number 5 elevated to any number x cannot be a negative number