The magnitude of vector $ \vec{v} $ is $ \| \vec{v} \| = 3 $ .
To find magnitude of a vector $ v=(a,b,c) $ we use formula $ ||v|| = \sqrt{a^2+b^2+c^2} $
In this example $ a = -2 $ , $ b = -1 $ and $ c = 2 $ so:
$$ ||v|| = \sqrt{ (-2)^2 + (-1)^2 + 2^2} = \sqrt{ 4 + 1 + 4} = \sqrt{ 9 } = 3$$