I really need this test done and I need help with question

Given:
[tex]\text{ABCD}\approx JKLM[/tex]To find the value of x:
Since the figure ABCD and JKLM are similar.
So, the corresponding sides are proportional.
That is,
[tex]\begin{gathered} \frac{AB}{JK}=\frac{BC}{KL} \\ \frac{6}{8}=\frac{18}{x} \\ x=18\times\frac{8}{6} \\ x=24 \end{gathered}[/tex]Hence, the value of x is 24.