Hid after market headlights?

Hello again as mentioned on my previous post about my head lights not working I have realised they are illegal aftermarket hid units xeon I think can anyone on this give me some information on how to remove these to go back to stock I unclipped the hids I have 2x black cup things with a wire that were in the boot I presume are the stock head lights I have no clue on how these wire back In as nothing seems to link together will this be a re wire job or am I missing pieces? Any information will be much appreciated

Do you have some pictures Derry