i am 31 but was technically adopted this year, last name changed
The name on the W-2 and the name on your tax return do not have to match. Only the Social Security number have to be the same.
On your tax return you must use the name that is on your current Social Security card.