Answer based on context:

Coming off their bye week the Rams flew to Candlestick Park for an NFC West rivalry match against the 49ers. In the first quarter the Rams took the lead with kicker Josh Brown making a 42-yard field goal. They trailed with RB Frank Gore getting a 1-yard TD run. This was followed in the second quarter by kicker Joe Nedney nailing a 26-yard field goal. The Rams fought back and took the lead with QB Sam Bradford completing a 5-yard TD pass to WR Danny Amendola. Followed in the third quarter by RB Steven Jackson getting a 13-yard TD run. The 49ers got the lead back with Nedney getting a 47-yard field goal, followed by QB Troy Smith making a 16-yard TD pass to WR Michael Crabtree. Te Rams tied the game with Brown making a 33-yard field goal. The decision was made at overtime when Nedney successfully put away a 29-yard field goal to give the Rams a loss, bringing their record down to 4-5.

Were there more yards of field goals or touchdowns in the first two quarters?
field goals