Hi Guys! if anyone can help me with this please do! I need to solve for X and the triangles in each pair are similar.

Answer:
x=6
Step-by-step explanation:
We can use ratios to solve
18 4x+6
--------- = -------------
24 40
Using cross products to solve
18*40 = 24 * (4x+6)
720 = 24*(4x+6)
Divide each side by 24
720/24 = 24/24 (4x+6)
30 = 4x+6
Subtract 6 from each side
30-6 = 4x+6-6
24 = 4x
Divide each side by 4
24/4 = 4x/4
6 = x