b) \(\frac{\left(x+1\right)\left(x^2+x-6\right)}{\left(x^2-9\right)\left(x^2+3x+2\right)}=\frac{\left(x+1\right)\left(x+3\right)\left(x-2\right)}{\left(x+3\right)\left(x-3\right)\left(x+1\right)\left(x+2\right)}=\frac{x-2}{\left(x-3\right)\left(x+2\right)}\)
a) \(\frac{2^{18}.54^3+15.4^{10}.9^4}{2.12^9+6^{10}.2^{10}}=\frac{2^{18}.\left(2.3^3\right)^3+15.2^{20}.3^8}{2.\left(2^2.3\right)^3+2^{10}.3^{10}.2^{10}}\)