[tex] \frac{3}{x} = \frac{x}{3} \\ 3 \times 3 = x \times x \\ 9 = {x}^{2} \\ x = \sqrt{9} \\ x = 3[/tex]
[tex] \frac{2x}{3} = \frac{24}{x} \\ 2x \times x = 24 \times 3 \\ 2 {x}^{2} = 72 \\ {x}^{2} = 72 \div 2 \\ {x}^{2} = 36 \\ x = \sqrt{36 } \\ x = 6[/tex]