Samir is a 50% owner of a partnership. For 2021, the partnership earns $100,000 of ordinary income and $12,000 of capital gains. Samir also receives a $5,000 distribution from the partnership. What are his tax consequences assuming Samir's basis in the partnership is adequate for the distribution?