For two ratios to form a proportion they have to be equal.
To see if two ratios are equal we express them in their simplest form.
In this case we notice that in the first ratio both numbers are multiples of five, then:
In the second case we notice that both numbers are multiples of 2, then:
Since both ratios can be simplified to the same final ratio, they form a proportion.