Deductions & credits

Look at Lines 36a and 36b.  It is calculating for each person.  The result on Line 37

 

IRS Schedule 1-A - https://www.irs.gov/pub/irs-pdf/f1040s1a.pdf