Raquel Rodriguez had two goals and Costa Rica held off a late charge from Mexico for a 2-1 victory Monday to secure a spot in the semifinals at the CONCACAF women's Olympic qualifying tournament.

If Canada can clinch first place in Group B with a victory over Guatemala on Tuesday (streaming on the CBC Sports app at 8:30 p.m. ET), they will meet Costa Rica on Friday to play for a spot at the Rio Olympics.

Maribel Dominguez scored for Mexico, which is missing out on the semifinals for the first time in the history of the tournament for the North and Central America and Caribbean regions.

Rodriquez, recently the second overall pick in the NWSL by Sky Blue FC, scored in the ninth minute to give Costa Rica the early lead. A MAC Hermann Trophy winner, Rodriguez was co-captain of the Penn State team that won the 2015 NCAA title.

She scored again on a penalty kick in the 57th minute for Las Ticas, giving her five goals for the tournament.

U.S. routs Puerto Rico

Crystal Dunn tied a national team record with five goals and U.S. women routed Puerto Rico 10-0 to win Group A in the CONCACAF qualifying tournament for the Rio Olympics.

The top-ranked Americans scored three times within 1:56 during the second half and outshot Puerto Rico 32-1.

The U.S. can clinch one of the 12 slots in Brazil with a win in its CONCACAF semifinal game Friday in Houston. It will face the runner-up of Group B, which will finish play Tuesday. Canada is expected to win that group with Guyana or Trinidad & Tobago finishing second.

The U.S. remained unbeaten in all-time CONCACAF qualifying play at 16-0-1, having scored 91 goals and allowing four.

Group A's other semifinalist is Costa Rica, which edged Mexico 2-1 in Monday's first game at Toyota Stadium.

With files from CBC Sports