Here is my bike: https://www.trekbikes.com/gb/en_GB/bikes/hybrid-bikes/fitness-bikes/fx/fx-1-disc/p/27987/
What appears to have happened is that the axle through my hub has sheared off due to some reason. I don't really know how to describe what has broken but it's the part that's gone through the middle of my hub that's not the quick release. It broke when I took my wheel off to inflate it. When I put it back on the wheel fitted but was super wobbly. The axle kind of comes apart in two pieces now and you can see the ball bearings inside. It has sheared within a threaded part of the axle. Is this just a case of finding a replacement axle part or do I have to replace more than this. I have a decent bike tool set and can take apart different parts of the drive chain.
The rear wheel and component parts have been changed since the bike was bought. The freehub is from nervar.
If anyone know what I have to do please give me the items I need to buy, the tools I need and some sort of method. The bike is screwed up in other ways but I want to learn how to fix this part. Is there a way I can replace the whole rear hub and just fit my old freewheel back on? I want to preserve as much of the wheel and drive chain as possible.