Упростим выражение:
$$\frac{2(3a^2)^3}{a^5 a^2} = \frac{2 \cdot 3^3 \cdot a^6}{a^7} = \frac{2 \cdot 27 \cdot a^6}{a^7} = \frac{54}{a}$$
Подставим значение $$a = \sqrt{12}$$:
$$\frac{54}{\sqrt{12}} = \frac{54}{\sqrt{4 \cdot 3}} = \frac{54}{2\sqrt{3}} = \frac{27}{\sqrt{3}} = \frac{27\sqrt{3}}{3} = 9\sqrt{3}$$
Ответ: $$9\sqrt{3}$$