Answer:
6
Step-by-step explanation:
Since the two triangles are similar, their ratios of sides must be constant. Therefore:
[tex]\dfrac{9}{3}=\dfrac{x}{2} \\\\x=2\cdot 3=6[/tex]
Hope this helps!