Multiple AppleIDs across two iMacs
By default, iTunes is not going to copy your Music CD tracks from one Mac to the other, though Apple does offer more than one paid method to have them moved for you.

There are free ways too, multiple of them, and this article from Apple goes over some options: https://support.apple.com/en-us/HT204318