Pin 8 on the DIL chip is not used so match pins 1 for 1, 2 for 2 etc. Pin1 is out a, 2 inverting input a, 3 non inverting input a, pin 4 -ve supply or ground if single rail supply. 5 non inverting input b, 6 inverting input b, 6 output b.
Hope that helps.