Step 1: Analyze each pair.
- Cattle egrets – African buffalo: Egrets benefit by eating insects stirred by buffalo; buffalo unaffected → Commensalism (3).
- Lynx – Fox: Both are predators competing for similar prey → Competition (1).
- Acacia tree – Pugnacious ants: Ants protect tree from herbivores, tree provides shelter/food → Mutualism (4).
- Leopard – Antelope: Predator-prey relationship → Predation (2).
Step 2: Match.
P-3, Q-1, R-4, S-2.
Final Answer:
\[
\boxed{P-3,\; Q-1,\; R-4,\; S-2}
\]