Hunter Pence hit a go-ahead, two-run double in the sixth inning as San Francisco's stagnant lineup finally got to Wei-Yin Chen, and the Giants beat the Baltimore Orioles 3-2 on Saturday.