LAS VEGAS — Two major priorities for the Nets this offseason were getting another first-round draft pick and easing a glut at point guard. They did both late Thursday, shipping Jeremy Lin to the Hawks and landing the Nuggets’ 2019 first-round pick in a separate deal that included Coney Island’s Isaiah Whitehead.

The Post had reported since last month that the Nets had been shopping Lin, and had also been looking to trade for Nuggets big man Kenneth Faried in a salary dump to acquire a draft pick. They executed both moves, first reported by ESPN and confirmed by The Post.

The Lin trade erases his $12.5 million expiring deal from the books. The Nets also get the rights to Atlanta’s 2016 second-round pick Isaia Cordinier, while they send the Hawks their 2025 second-rounder and the right to swap picks in 2023.

Lin, who has a 10 percent trade kicker the Nets will be required to pay, hasn’t played since rupturing his patellar tendon during the opening game last season. The 29-year-old just started going one-on-one with contact five weeks ago, but hasn’t moved up to three-on-three and admitted this week he hasn’t yet regained his old explosiveness.

Nevertheless, the move may have caught Lin off guard.

After saying he was confident either Nets general manager Sean Marks or coach Kenny Atkinson would let him know if any trade talks became substantive, Lin told The Post on Wednesday night he hadn’t gotten that call yet.

“No, I didn’t. My agent [Jim Tanner] called me just to clarify,” Lin said. “But no, I don’t think there’s any. I don’t think that has any truth to it.”

The Nets’ roster was unbalanced, with too many point guards. They had Lin, Whitehead, D’Angelo Russell, Spencer Dinwiddie and Caris LeVert, as well as last year’s two-way player, Milton Doyle, still with them in the summer league.

“It’ll get worked out,” one Nets guard told The Post this week.

He was right.

In a separate deal, the Nets traded Lincoln High School’s Whitehead — the first Brooklyn native to ever play for the team — to Denver. He had agreed to move back his guarantee date to the end of this month with the idea the point guard glut would be sorted out by then. Now that it has been, the Nets will go with either Dinwiddie or off-guard Allen Crabbe next to Russell.

The Nets get Faried, and his $13.8 million expiring salary, as well as Darrell Arthur to get a 2019 first-round pick (protected 1-through-12) and a 2020 second-rounder.

While Faried is clearly a salary dump, he still can be useful, just like DeMarre Carroll a year ago. Rebounding, toughness and interior defense were issues for the Nets last season, and the Newark native can help in those areas.

Faried averaged a modest 5.9 points and 4.8 rebounds last season, the first time he had pulled down fewer than 7.6 boards in his career. But those came in just 14.4 minutes nightly, his playing time cut precipitously by the arrival of Paul Millsap. His 11.9 rebounds-per-36 minutes exactly matched his career mark, and imply the 28-year-old still may have something left.

With the Nets going five straight years without their own natural draft picks, Marks has had to acquire assets by trading off veterans or taking salary dumps.

Since taking over the team, Marks has in essence turned Thad Young into LeVert, Bojan Bogdanovic into Jarrett Allen, Brook Lopez into Russell, and taken on Carroll for the pick that became Dzanan Musa last month.

Faried, because he has an expiring contract, won’t encroach on Brooklyn’s trove of salary-cap space next summer, when they could create room for two max contracts.