Optimal Avoidance and Evasion Tactics in Predator-Prey Interactions