WASHINGTON -- Jason Marquis pitched a five-hitter to beat Tim Lincecum , and reserve outfielder Laynce Nix made the most of a rare start by connecting for a two-run homer that carried the Washington Nationals to a 3-0 victory over the San Francisco Giants on Friday night.