Boolean algebra -- minterms for 1:1 inputs and outputs
I don't know what you mean by &quot;correct mathematical derivation&quot; but by inspection for your second case:
\$X = \overline{A}\$
and for your third case:
\$X = 0\$