How do i make not, nand, and, or circuits using only the same fundamental pieces. I can only use p and n type transistors as shown, nothing else allowed.