Get a 12Volts DC transformer.
Cut out the dc adaptor on the DC transformer, now collect the black wire with the black wire and the red wire with the black & white wire together.
Even if you collect the wrong wire together, it still will work, depend what DC fan you got, it may just spin in...