A ratio \(a : b\) means the second quantity is \(\frac{b}{a}\) of the first.

• Longer : Shorter = \(7 : 5\)
• Shorter piece = \(\frac{5}{7}\) of the longer piece

Final Answer: A = 5, B = 7