Well the motor I can get for you but the busted hinge on the bed I can weld it back and repaint it but it would be easier to find another one and buy it. The motor will be close around $300 for a white one.
The parts that you have loose look like the pan screw and pin for the hinge maybe?
I am so sorry about the busted machine but it is fixable and you should be refunded for the entire purchase seeing that its close to $400 in damage. I hope it was insured for his sake.
Billy