Figure 3: Reversible circuit implementing (1).