Answer and Explanation:
Stock based compensation: stock based compensation which is non cash expense is charged as operating expenses to operating income as stipulated in Accounting Standards Codification (ASC) 718. After a year, the equity account is credited and cash is debited
Restricted stock units: contra equity is debited and common stock is credited. Part of the shares after vesting and recognition as income is charged and withheld for taxes