Andres Guardado had two goals in the second half, Roberto Alvarado also scored and Mexico beat Canada 3-1 in the knockout round of the Gold Cup on Wednesday night.

Mexico has won its first two matches by a combined score of 10-1 and took control Group A despite losing midfielder Erick Gutierrez in the first half.

Lucas Cavallini scored for Canada.

Canada midfielder Alphonso Davies, left, drives past Mexico defender Edson Alvarez during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, at Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)

Canada midfielder Alphonso Davies, left, drives past Mexico defender Edson Alvarez during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, at Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)

The third leg of pool play for Group A moves to Charlotte, N.C., on Sunday. Canada will face Cuba in the first match of the day followed by Mexico against Martinique in the second match.

The top two teams in the four-team pool advance to the quarterfinals starting on June 26. Martinique used two goals in the second half to beat Cuba 3-0 in Wednesday's first match to even its record to 1-1.

Cuba, which has been outscored 10-0 in its two games, was eliminated from the Gold Cup.

Mexico goalkeeper Guillermo Ochoa, front, makes a save as Canada forward Lucas Cavallini, back left, fights his way past Mexico defender Diego Reyes during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, at Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)

Mexico goalkeeper Guillermo Ochoa, front, makes a save as Canada forward Lucas Cavallini, back left, fights his way past Mexico defender Diego Reyes during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, at Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)

Mexico took control early in front of 52,874 fans at Mile High Stadium after losing Gutierrez to a leg injury in the 33rd minute. A ball was sent across into the box where Raul Jimenez got a shot off between two Canadian defenders.

Goalkeeper Milan Borjan made a diving save but the rebound went to Alvarado standing alone in the box, and he booted it in to give Mexico a 1-0 lead in the 40th.

Jimenez nearly gave Mexico a two-goal lead at halftime when he blistered a shot on net that Borjan batted away during injury time.

Mexico defender Jorge Sanchez, left, pursues Canada defender Mark-Anthony Kaye during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, at Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)

Mexico defender Jorge Sanchez, left, pursues Canada defender Mark-Anthony Kaye during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, at Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)

The Mexicans got their second goal when Guardado, who came on for Gutierrez in the first half, stole a pass in the offensive zone, dribbled to the top of the box and curled a high shot just inside the left post in the 55th.

Canada made it 2-1 when Jonathan David stole the ball from Mexican defenseman Nestor Araujo and fed Cavallini coming into the box, and his shot just got under goalkeeper Guillermo Ochoa in the 75th.

Guardado answered in the 77th when his shot from close in deflected of the foot of defensmen Doneil Henry and just under the crossbar.

Mexico defender Edson Alvarez, left, fights for control of the ball with Canada forward Cyle Larin during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, in Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)

Mexico defender Edson Alvarez, left, fights for control of the ball with Canada forward Cyle Larin during the first half of a CONCACAF Gold Cup soccer match Wednesday, June 19, 2019, in Mile High Stadium in Denver. (AP PhotoDavid Zalubowski)