Solution for DMux gate