If you have a differential controller:
attach pin 1 to the leftmost pin on INPUT on the X scanamp,
attach pin 14 to the rightmost pin on INPUT on the X scanamp,
attach pin 25 to one of the inner pins on the X scanamp.
attach pin 2 to the leftmost pin on INPUT on the Y scanamp,
attach pin 15 to the rightmost pin on INPUT on the Y scanamp,
attach pin 25 to one of the inner pins on the Y scanamp.
(Note that while normally you do not want to route pin 25 to a differential amp, due to some internal details the DT40's will probably thank you for it.)