Find the total number of parts, then express the longest piece as a fraction of the total.

• Pieces ratio = \(2 : 4 : 9\)
• Total parts = \(2 + 4 + 9 = 15\)
• Longest piece = 9 parts
• \(\frac{9}{15} = \frac{3}{5}\)

Final Answer: a = 3, b = 5