Please follow
https://www.irs.gov/uac/how-exemptions-and-dependents-can-reduce-taxable-income
.