Choosing B or its inverse
Exclusive OR passes B unchanged while A is low and inverts it while A is high. A two-way switch that chooses between B and its inverse computes it with two transmission gates and two inverters.
Puzzle 47 of 100
Make Y high while exactly one of A and B is high.
Exclusive OR passes B unchanged while A is low and inverts it while A is high. A two-way switch that chooses between B and its inverse computes it with two transmission gates and two inverters.
Y equals B while A is low, and the inverse of B while A is high. Build a two-way switch that A controls: one transmission gate passes B, and the other, drawn the other way up, passes the inverse of B. The inverters are drawn, and their four lines end under the GND rail.
This is the game's reference drawing for the puzzle. It meets the goal and passes the design rules. Other drawings can pass as well.

