For a binary half-subtractor having two inputs A and B, the correct set of logical expressions for the outputs D =( A minus B) and X =( borrow) are