the light with 2 bulbs (outer unit) is for headlight and side light
the light with 1 bulb (inner unit) is for high beam
Wire them up with the yellow(headlights), white(high beam) and slate/black or slate/red (sidelights) wires and run individual brown wires from each bulb to a common earth point each side of the car