8 over 5 = 10 over x. Solve for x
Cross multiply, 8x=50, divide both sides by 8 and you have x=25/4 or 6.25