Did it not come with any instructions...
1 wire should be live so connect to main loom, 1 wire should be earth so connect to wherever you earthed the HU
I was going to say it didn't look too bad until the last pic. Looks like a bit of a nasty crease there, sure it can be sorted though... I had a similar feeling when my car was hit, didn't get as upset as i thought i would...