Jeremy Lin looks on against the New Jersey Nets. (Feb....

Jeremy Lin looks on against the New Jersey Nets. (Feb. 4, 2012) Credit: Jim McIsaac

If the Knicks want Jeremy Lin, it's reportedly going to cost them about $29 million.

The Rockets on Thursday agreed to terms with the point guard on a three-year offer sheet that includes a team option for a fourth year, according to multiple reports. Because Lin is a restricted free agent, the Knicks will have three days to match the offer once the NBA's moratorium on player transactions is lifted Wednesday.

Lin reportedly would earn $5 million in the first year of the deal, $5.2 million in the second year and $9.3 million in each of the final two seasons. Without including the potential salary of Jason Kidd, who reportedly agreed to a three-year deal in the neighborhood of $9 million with the Knicks Thursday, the team already has $64 million committed to four players in the third year of Lin's deal. The thinking, however, remains that the Knicks will match any offer for Lin.

If they deem it too costly to bring him back, another free-agent option at point guard could be former Knick Raymond Felton. But to make it work salary-wise, the Knicks probably would have to do a sign-and-trade with the Trail Blazers.

Pairing Kidd with Lin could be a dream come true for Lin. He grew up in the Bay Area, just as Kidd did, and Lin closely followed Kidd's career path. If the Knicks re-sign him, he could find himself learning more than a few pointers from the future Hall of Famer, who is No. 2 behind John Stockton on the NBA's all-time assists list with 11,842.

Lin averaged 18.2 points and 7.7 assists in 25 starts for the Knicks last season before undergoing knee surgery.

The Dolan family owns controlling interests in the Knicks, Madison Square Garden and Cablevision Cablevision owns Newsday.