Your total cost basis is $14,652 ($9,840 + 3,150 + 925 + 737). So you have a loss. The amounts you paid for the stock (9,840 + 925) are added to the appreciation (3,150 + 737) because the appreciation was already included in your taxable income on the W-2.
See page 13 for description of item V on W-2.
See page 11 of Publication 525 regarding basis on sale of stock -