MILWAUKEE (AP) — Joey Wiemer and Willy Adames hit three-run homers to back Freddy Peralta’s strong pitching and the Milwaukee Brewers defeated the Los Angeles Dodgers 9-3 on Monday night. The Brewers have won their last two games after losing six straight. Milwaukee ended its longest skid of the young season Sunday with a 7-3 victory at San Francisco. Chris Taylor hit a two-run homer in the ninth for the Dodgers, who lost for just the second time in 10 games. Wiemer has been an impressive fielder during his first season in the majors, even making a seamless transition when a shoulder injury to fellow rookie Garrett Mitchell caused him to shift his primary position from right field to center. His hitting has been more of a work in progress, as he entered Monday’s action batting .208 with a .286 on-base percentage. But he showed his potential at the plate Monday by going 2 of 3 with four RBIs — his first since April 29 — in arguably the best performance of his young career. Wiemer homered off Tony Gonsolin (0-1) with two outs in the fifth. He added an RBI double against Phil Bickford in the seventh with a shot that went off the glove of diving shortstop Miguel Rojas and into shallow left. Peralta (4-2) struck out five and allowed just three hits, one run and two walks in six innings for his third straight quality start. Peralta has allowed five runs over 18 innings in his last three appearances. Milwaukee broke a scoreless tie by getting three unearned runs off Gonsolin in the fifth. William Contreras led off the inning by reaching on an error by third baseman Michael Busch. After Brian Anderson struck out and Brice Turang grounded into a fielder’s choice, Tyrone Taylor singled up the middle to keep the inning alive. Wiemer then ripped a 1-1 splitter into the left-field seats for the rookie’s third career homer. That blast spoiled an otherwise outstanding performance from Gonsolin, who struck out six and walked none in his six-inning stint. The only three hits he allowed were Wiemer’s homer and two singles by Taylor. The Dodgers cut Milwaukee’s lead to 3-1 in the sixth as Freddie Freeman doubled, moved to third when Jason Heyward grounded out and scored when Max Muncy grounded out. Milwaukee broke the game open by scoring six runs against the Dodgers’ bullpen in the seventh. Bickford retired one batter and allowed four runs. After Wiemer’s RBI double made it 4-1, Christian Yelich added a two-run single. Adames capped the outburst by homering for the second game, delivering a drive over the right-field wall against Wander Suero.