Undertail, fender, tail light, and the electrical stuff in there back on the bike (other than the couple of screws that ran off...)
The part of the undertail in the second picture got deformed because the bracket it's under was completely caved in from the crash; that corner was pointing inward instead of outward.
I had trouble when I was removing the undertail because the bracket was actually pinching in the plastic. At least the bracket got straightened out nicely.