I am following the book of Arora and Barak book.
We consider Boolean circuits as we do, Specifically, inner nodes are either AND, OR (both – fan-in 2), or NOT (fan-in 1) gates. The fan-out of each gate is 2. The size of a circuit is the number of inner nodes (gates) in it.
Let $ ∶ \{0,1\}^ → \{0,1\}$ be a function, where $ > 1$ is a Natural number. Assume that there exist circuits $_0, _1$ both of size at most $,$ such that for each $ ∈ \{0,1\},$ the circuit $_$ computes the function $_ ∶ \{0,1\}^{−1} → \{0,1\}$, defined by $$_(_1, … , _{−1}) = (_1, … , _{−1}, ).$$
But the book mention that there is a circuit $$ of size at most $2 + 4$ that computes $,$ that I don't understand. How they get size at most $2d+4$?