How to calculate support for a child

We used worksheet 2 in publication 501 page 15 to calculate support for a child. The child lived with mom 80% and dad 20%. We used the child’s share of household expenses in moms home. Is that correct or do we use the household expenses for both mom’s AND dad’s home?