A homemade snack mixture contains peanuts, raisins and almonds in the ratio \(9 : 3 : 5\). If 45 cups of peanuts are used, find the quantities of raisins and almonds needed.
 
Answer:
 
Quantity of raisins needed \(=\) cups
 
Quantity of almonds needed \(=\) cups