dkh
Level 15

Pub 596 probably has an example in it somewhere  .

https://www.irs.gov/publications/p596#en_US_2021_publink100061848