Sounds as though the quickest solution is to connect everything together again and do a complete clean install. Download the latest version of Windows (you don't say what it is). Just be careful not to install on the drive which contained your data or just disconnect it temporarily. Of course that might not be possible if the data is on the SSD and that is where you need to reinstall the new Windows.
Moto G6 Play Review: First Look