How Can Gates Be Combined Into Circuits