can you explain how complex fractions can be used to solve problems involving ratios?