How do you do the "Ship Under Attack" mercenary missions?

Every time I've attempted a yellow/orange level contract like this I've always failed it, all of the ships there just focus the ship I have to protect and there's nothing I can do about it. I can only fight one ship at a time.

Anyone have tips for these? They have amazing payouts but I can't complete them.