How do I transfer my entire itunes library (retaining the original music playlists) from my iPad iOS 5.1 How do I transfer my entire itunes library (including the specific music playlists) from my original iPad iOS 5.1  via wifi to my new Macbook air with Yosemite?

The bulk of my music library is CD's that I have imported manually.

I have authorized both computers in the iTunes account tab. 

I tried hooking my iPad, via it's USB cord, to the Macbook Air's USB port.  The iPad does pop up in iTunes, but I am not sure what to do next to permanently import all of the iPad's music, ibooks, movies etc. into the iTunes on my Macbook air.
You don't move your Music from the iPad to the new computer, you copy your entire iTunes library from your old computer to your new computer and then re-sync your iPad to the new computer.

Here are the Apple instructions:
http://support.apple.com/en-us/HT4527