From your existing wiring find the black wire, which is earth.
This needs to connect to the main, dipped and side light bulbs earth side.
The wiring is such that the main and dipped are earthed at the same point on the new headlight unit. The sidelight will need a new wire.
On one side
The blue wire is the sidelight.
The green wire is the dipped beam
The cream wire is the main beam.
On the other side
The blue/red wire is the sidelight.
The pink wire is the dipped beam
The cream/red wire is the main beam.
Make sure there are 10 Amp fuses in position s 26 & 27 if not put them in, this will make sure the sidelights work.