Answer: A = X + Y; B = X xor Y. The task is to make X as minimum as possible.
Step-by-step explanation: