\[\boxed{\mathbf{547}\mathbf{.}}\]
\[= 2\sin a \bullet \sin a + 3\cos^{2}a - 2 =\]
\[= \cos^{2}a\]
\[= - \frac{\text{tg\ }\left( \frac{\pi}{2} + a \right)}{\text{tg\ a}} = \frac{\text{ctg\ a}}{\text{tg\ a}} =\]
\[= ctg\ a\ :\frac{1}{\text{ctg\ a}} = ctg\ a \bullet ctg\ a =\]
\[= \text{ct}g^{2}\text{\ a}\]