1. Load the music that is on the Laptop onto the desktop and then sync the iPhone
2. Use something like iRip to move the music from the iPhone to the desktop.

Either way it involves making the desktop contain the same tracks as the laptop and the iPhone.