LCM( 9, 6 ) = 18
The formula for finding LCM is
$$ \text{LCM} (a, b) = \frac{ a \cdot b }{ \text{GCD}(a,b)} $$In this example we have: a = 9, b = 6 and GCD(9, 6) = 3.
$$ \text{LCM} (9, 6) = \frac{ 9 \cdot 6 }{ \text{GCD}(9,6)} = \frac{ 54 }{ 3 } = 18 $$