The team played the two matches successfully.
The team played two matches successfully means the team played two matches with success.
The team played the two matches successfully.
The team played two matches successfully means the team played two matches with success.