Deductions & credits

Read the filing instructions that print with the amended return ... you send the 1040X plus any forms/schedules that changed.  In your situation that will be AT LEAST the Sch D & form 8949 but there may be others.