Here 3 Input NAND Gate and 3 Input Inverting OR Gate  is Implemented by creating it's Sub-circuit.