What is the value of x?

9514 1404 393
Answer:
x = 25
Step-by-step explanation:
Corresponding sides (or segments) in the similar triangles are proportional.
DC/DQ = CR/QB
x/40 = 15/24
x = 40(15/24) = 25 . . . . multiply by 40