Trying to rebound from their home loss to the Colts, the Patriots stayed at home for a rainy AFC East rematch with the Jets.  After a scoreless first quarter, the Patriots struck first with a Gostkowski 31-yard field goal.  However, the Jets would fire back with running back Kevan Barlow getting a touchdown on a two-yard run.  Gostkowski would get one more field goal for New England, in the form of a 21-yarder.  In the third quarter, New York kicker Mike Nugent kicked a 34-yard field goal for the only score of the period.  In the fourth quarter, the Jets continued their pursuit, as Pennington completed a 22-yard touchdown pass to Cotchery.  The Patriots tried to fight back, as Brady completed a 15-yard touchdown pass to Caldwell, following it up with a successful two-point conversion pass to Caldwell.  However, New York's defense managed to bottle up any chance of a New England comeback.   With the loss, the Patriots would lead the Jets by one game in the AFC East at 6-3. Also with the loss, the Patriots' 57-game streak without consecutive losses, which dated back to the 2002 season, was snapped. The San Francisco 49ers still hold the record of 60-straight games without consecutive losses (1995 - 1999). For Tom Brady, this would be his last regular-season loss at home until Week 9 of the 2011 season. This turned out to be the last time Brady lost at home to another AFC team during the regular season until Week 17 of the 2014 season. After the game was played on a completely sodden, torn-up natural grass field, the Patriots used the two-week interval before the next home game to install a new "FieldTurf" surface at Gillette Stadium.

Based on the above article, answer a question. How many yards was the longest field goal of the first two quarters?
31