Masahiro Tanaka pitched a two-hitter with 10 strikeouts for his fourth major league shutout, and the New York Yankees beat the Tampa Bay Rays 3-0 on Monday night in New York and increased their slim lead in the AL East.

"You could tell he could smell the finish line," Yankees manager Aaron Boone said. "Big-time performance to kick off this series for us."

DJ LeMahieu hit a two-run homer off Yonny Chirinos, and Cameron Maybin homered in his third consecutive game. That was all Tanaka needed while throwing 76 of 111 pitches for strikes in his seventh complete game.

"He's got our number right now. We have to do a better job of making some adjustments, not being afraid to change up some routines, whatever, when you walk up to the plate. Because whatever he's doing and whatever we're doing is not working," Tampa Bay manager Kevin Cash said.

Edwin Encarnacion received an enthusiastic ovation from fans in his Yankees debut after being acquired from Seattle. Batting fifth, he went 0-for-4 with a strikeout.

New York moved 1½ games ahead of Tampa Bay.

Los Angeles 10, Toronto 5: Justin Upton homered on the first pitch he saw in his return from the injured list, Mike Trout had a solo homer — reaching 20 before the All-Star break for the fourth time — among his four hits and Angels used a seven-run second inning to beat the host Blue Jays.

Texas 7, Cleveland 2: Lance Lynn had another quality start, Danny Santana homered and the host Rangers spoiled Mike Clevinger's return from the injured list for the Indians. Lynn struck out nine and gave up one run over seven innings.

Oakland 3, Baltimore 2: Mike Fiers pitched three-hit ball into the seventh inning and the host Athletics took advantage of some shoddy defense by the Orioles.

Kansas City 6, Seattle 4: Jorge Soler hit a two-run homer in the eighth inning, Martin Maldonado also homered and drove in two runs and the Royals beat the host Mariners.

National League

San Diego 2, Milwaukee 0: Manny Machado homered and doubled a few hours after appealing a one-game suspension handed down by MLB, and lefthander Joey Lucchesi threw seven brilliant innings in a combined four-hitter as the host Padres beat the Brewers. Machado was suspended one game and fined for "aggressively arguing and making contact" with plate umpire Bill Welke on Saturday.

Atlanta 12, New York 3: Mike Soroka won his eighth consecutive decision, Ozzie Albies homered and drove in four runs, and the surging host Braves beat the Mets. Soroka (8-1) gave up three runs, six hits and allowed just his third homer in 12 starts this year, a solo shot by Robinson Cano.

San Francisco 3, Los Angeles 2: Brandon Crawford hit a two-run double, Tyler Austin scored on an error and Tyler Beede earned his first big-league victory as the Giants beat the host Dodgers despite getting held to three hits.

St. Louis 5, Miami 0: Dexter Fowler and Matt Carpenter homered in support of a strong start by Miles Mikolas, who ended a run of five consecutive losing decisions.

Interleague

Cincinnati 3, Houston 2: Nick Senzel returned from an eye injury and drove in two runs, and five pitchers for the host Reds held the Astros to four hits.

Notes

• Texas outfielder Hunter Pence was placed on the 10-day injured list, a day after he suffered a right groin strain in a loss at Cincinnati.

• Philadelphia's game at Washington was rained out and will be made up in a doubleheader Wednesday.