Answer based on context:

Trying to snap a six-game losing streak, the 49ers went home for a Week 11 NFC West duel with their hated rival, the St. Louis Rams.  In the first quarter, the Niners struck first as RB Frank Gore got a 5-yard TD run.  In the second quarter, the Rams responded with kicker Josh Brown getting a 24-yard field goal.  Afterwards, San Francisco unleashed its frustrations as QB Shaun Hill completed a 2-yard TD pass to TE Vernon Davis, Gore got a 1-yard TD run, Hill got a 1-yard TD run, and Hill completed a 2-yard TD pass to WR Bryant Johnson. In the third quarter, St. Louis got a 48-yard and a 44-yard field goal.  In the fourth quarter QB Marc Bulger completed a 2-yard TD pass to WR Dane Looker.  The 49ers had deployed most of the second string roster for the 4th quarter. Shaun Hill had a perfect passer rating in the first half and a career-high 47-yard completion.  Hill also won NFC Offensive Player of the Week. With their six-game losing streak snapped, the 49ers improved to 3-7.

How many yards did Hill pass to Davis?
2