Solved! Cassette player to stereo

Apr 22, 2019
I've just purchased a Denon drm510 cassette player to work with a Denon RCD-M39DAB. I've also got a turntable. I'm trying to figure out how to connect all of them to the speakers/stereo, there's not enough ports at the back,is there a splitter or something else I can use?

Thanks in advance.