a)
\(9^{16-x}=27^{x+4}\\ \Leftrightarrow3^{2.\left(16-x\right)}=3^{3.\left(x+4\right)}\\ \Leftrightarrow2.\left(16-x\right)=3.\left(x+4\right)\\ \Leftrightarrow32-2x-3x-12=0\\ \Leftrightarrow-5x=-20\Leftrightarrow x=4\)
b)
\(16^{x-2}=0,25.2^{-x+4}\\ \Leftrightarrow2^{4\left(x-2\right)}=0,25.2^{-x+4}\\ \Leftrightarrow2^{4x-8+x-4}=0,25\\ \Leftrightarrow2^{5x-12}=0,25\Leftrightarrow5x-12=\log_20,25\\ \Leftrightarrow5x-12=-2\\ \Leftrightarrow x=2\)