>>1910564>I want to know if these things are replaceable?yes, the rear is a 175mm long, 3/8" axle
>how to get them back in, or how I would get pic related fitted if I purchased it?Chances are the one that you will buy online will have the incorrect size cones and locknuts, I suggest that you reuse the ones that came in your broken axle. As for getting it fitted, you will need a chain whip, a sprocket remover, and some cone wrenches.. if some of the ball bearings went missing just measure one that you managed to collect and get a pack of the same size. (helpful video:
https://www.youtube.com/watch?v=ftKW_sUOEf8)
I also recently replaced the axles of my bike because the wheels were wobbling and not spinning as smoothly, so I disassembled it and noticed that both axles were bent but the bearing surfaces were still smooth, so I just bought new axles, reassembled it, and the thing is spinning fine now.