Hoping to rebound from their road loss to the Steelers, the 49ers went home and played an NFC West battle with the Seattle Seahawks. In the first quarter, the Niners lost QB Alex Smith with a separated shoulder during a sack.  Back-up QB Trent Dilfer would take the position for the rest of the game. In the second quarter, San Francisco's recent woes continued with Seahawks kicker Josh Brown getting a 23-yard field goal. Afterwards, Seattle began to pound away with QB Matt Hasselbeck completing a 17-yard TD pass to WR Bobby Engram, along with Brown kicking a 31-yard field goal. In the third quarter, the Seahawks continued their domination as Hasselbeck completed a 14-yard TD pass to TE Marcus Pollard. The Niners would get their only score of the game as kicker Joe Nedney got a 43-yard field goal. In the fourth quarter, Seattle sealed San Francisco's doom with Brown nailing a 25-yard field goal.
Question: How many yards of touchdown passes did Matt Hasselbeck have?
Answer: 31