When you have ratios, and some unknowns, you can create complex fractions from them. Bring them to the same denominator, and solve for x.
Example - we have this proportion:
2-x
5-45
And we can change it into fraction:



18=x
In case of more complex fractions it may come in handy.