Here is how you do it....
You will subtract 500 minus 225 to get the number of tails. The number of tails is 275.
Now, you know your ratio is 225:500. All you need to do is simplify it.
225 divided by 25 is 9 and 500 divided by 25 is 20.
Now, the ratio that you have is 9:20.