I need help solving for x

Answer:
7.5
Step-by-step explanation:
draw the triangles separately then write a fraction for the small one x/6 and 10/8 then to get rid of the 6 to get x by itself you multiply by 6 to get X and for the other side you do 10/8 then multiply 1.25 times 6 to get 7.5
please add a thanks and a brainliest
hope this helped