look at how a 3 pin plug goes on, and match the 2 pin plug's wire colors to that, say pin1 is red, pin2 is black, and pin3 is yellow (just an example), match the red & black, and the pin that takes the yellow wire, ignore it and bend it to the side if needed.