How do I get music only found on my iPad back onto my computer and iTunes?

How do I get music only found on my iPad back onto my computer and itunes

I got a new laptop and I'm trying to get music from my iPad to my iTunes and to my computer. The music was not bought off iTunes and isn't in any files on my old laptop. I cant figure out how to transfer the music to iTunes , my computer and my iPhone. Any suggestions?
Re: How do I get music only found on my iPad back onto my computer and itunes

How did you get the music on your iPad in the first place?

Original thread: https://forums.imore.com/threads/how-do-i-get-music-only-found-on-my-ipad-back-onto-my-computer-and-itunes.322517/