Respuesta :

as the triangles are similar corresponding sides are in the same ratio 
So we have:_

24/6  = (30-2x) /x

4x =  30-2x
6x = 30
x = 5