5.
[tex]a) \ 2^{4}-3^{2} = 2\times2\times2\times2 - 3\times3 = 16-9 = 7\\\\b) \ 5^{2}-4^{2} = 25-16 = 9[/tex]