a)
[tex] log_{3}(x) = 2 - log_{3}(5) \\ log_{3}(x) = log_{3}( {3}^{2} ) - log_{3}(5) \\ log_{3}(x) = log_{3}( \frac{ {3}^{2} }{5} ) \\ log_{3}(x) = log_{3}( \frac{9}{5} ) \\ x = \frac{9}{5} [/tex]
b)
[tex] log_{x}(4) - log_{x}(9) = 2 \\ log_{x}( \frac{4}{9} ) = 2 \\ {x}^{2} = \frac{4}{9} \\ x = \frac{2}{3} [/tex]