Did you back up all your iTunes settings and libraries before you reinstalled Windows? If not, they have gone and you will need to build a new library from your music folders.
You can not transfer the songs from your iPhone to your computer. You can only transfer from computer to iPhone.
That is right.the transference is single-line.