I know how to represent a number K for example when K = A - B in a curcuit, it's pretty straight forward. complement all signals from B and trun the carry signal into 1. Just like the picture below.
My question is if I want to rerpesent K = -A -B + 1 in a curcuit. If I complement all signals of A and B I still have to add 1 + 1 + 1, the first 1 is for completion of A's complement 2, the second one is for completion of B's complement 2, and the last 1 is simply from the equation K = -A -B +1. How do I make that happen with using the same FA?