You can put this solution on YOUR website! For simplifying the ratio you need to convert yard into feet ,so that you have same units.
1 yard=3feet
so,
5yards=3*5feet
5yards=15feet
Now you can simplify
15:24(15/3:24/3)
=>5:8
So the simplest form of the ratio is 5:8
hope this helps!