SImple, if you can download Microsoft Store
Take the official windows 7 or 8 iso and put it on a usb stick.
Power down the machine, unplug the cd-drive and any other hdd.
Make sure you have the drive you want to use for windows.
Power it back on and start the windows installation again.
Tell windows installation you want your ssd, tell it to format. click next.
The rest should go fine if nothing else pops up,
After the installation, power down your machine, reconnect the drives power it back on.
Finally flash your troll face at the new machine and enjoy your computer.