Some of those look to be in structural areas. I would proceed with extreme caution.
If I were convinced I wanted to keep the car, I would cut all that off... (assuming that's even feasible), weld new metal in, treat with Miracle Paint and/or POR 15, and go from there.
However, just looking at the pictures, I'm thinking that you've got a parts car, I'm very sorry.
Packer
__________________
83 240D - 4 speed manual - Manilla Beige
189K miles, Tachometer mod, cool wooden shift knob from PeachParts, CocoMats, Original factory paint, manual windows, manual sunroof. Starting to add AudioWrap to this car too!