The Mets hit three home runs in the third inning en route to a 4-1 win over the San Francisco Giants to even their three-game set.