and the de multiplexor
If you mean the "M14" chip, it's practically the same as the "M41" chip, just backwards.
Keep the same selection logic, and hook one input up to all the AND gates. Ditch the OR gates and send the output of each AND gate to 1 of 4 outputs.