Tom McDonald charges back to form with match-winning performance