(2) your earned income plus $400 (but the total can't be more than the basic standard deduction for your filing status).
pay attention:
(2) is your earned income plus $400, for example 12000+400=12600, but less than basic standard deduction for your filing status which is $13400