The taxes are already in your w2. The employer is required to handle that. The 1099-B basis is wrong and requires your adjustment for the actual amounts - I am guessing you did a "sell to cover" and need to report that sale on your return. Your actual basis for all shares was included in your box 1. Which is why some shares had to be sold to cover the taxes on all the extra income.
I want to urge you to create a financial notebook that is kept separate from your tax return. Keep it safe and each year, add your year-end statements from all your financial accounts plus a copy of your W2’s, your carryover information, and proof of your basis in your various investments. You must keep tax records from the time you purchase until sold/ loss used plus 3 years. It is very easy to lose track of disallowed losses, carryforwards, and basis. This can be a digital or paper notebook.
See What are restricted stock units (RSUs) and how do I report them?
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"