\(\left(-2\right)^x=8^4=\left(-2\right)^{12}\Rightarrow x=12\)
\(\Leftrightarrow\left(-2\right)^x=8^4=2^{12}\)
=>x=12
`=> (-2)^x = 8^4`
`=> (-2)^x = 2^12`.
`=> x = 12`.
`(-2)^x = 8^7 : 8^3`
`(-2)^x = 8^(7-3)`
`(-2)^x = 8^4`
`(-2)^12= 8^4`
`=> x = 12`