the sensor part has 4 wires,(2 white,1 black and 1 red)each light has 1bl.and 1white
The other answer that has directions doesn't sound right for your case. Do you have a link to the actual product? Two white wires sounds strange, unless they have stripes or something to differentiate them. It seems pointless to have 2 wires that would just be connected together. Give me a link or the actual brand/model number and I'll give more information.
If all else fails read the directions! Please read the directions that came with the motion sensor/outdoor light. They should have a color code in them somewhere that tells you what each color is and what it should be wired too. If you have any doubts hire a licensed qualified electrician to do it for you. You would be much better off if you don't think you are capable of doing it. If you do think you are capable make sure you turn off the breaker in the breaker box. (Not the light switch on the wall)
Wiring a Motion Sensor to an Existing Security Light: Materials (5) Wire Nuts (Yellow) Electrical Tape Screwdriver Directions 1. TURN OFF POWER TO FIXTURE! 2. Remove light from base to get to wiring. 3. Remove wire nuts from existing black and white wires. 4. Connect white wires togeather with wire nut. 5. Connect red wire from motion sensor to black wire from lights. 6. Connect black wire from motion sensor to black wire from power source. 7. Replace fixture to base. 8. Turn power back on. Hope this helps.