simple xor-type circuits which rely on their inputs to source/sink current.
the p-channel one is straight-forward:
both inputs 0 -> no power.
both inputs 1 -> both transistors turned off.
otherwise, one transistor can pass power.
the n-channel one could be considered xnor because it pulls down when on. it depends how you use it.
the width of all the transistors was increased to pass enough current for the leds.