you will receive 1099-B from your broker in Jan/10
based on your case, if I understand u right, your capital loss = 3000-2000 + commissions. you are allowed to deduct no more than 3000 capital loss from your ordinary income.
see instruction on sch D of form 1040 for details.
hope it helps.