g = (a and x1′) or (b and x1)

g = (1 and x1’) or (0 and x1)

g = x1’

f = ac’ + bc

f = (a and x2′) or (b and x2)

f = (g and x2′) or (x1 and x2)

f = x1’x2’ + x1x2

Ref: Geeksforgeeks.org

g = (1 and x1’) or (0 and x1)

g = x1’

f = ac’ + bc

f = (a and x2′) or (b and x2)

f = (g and x2′) or (x1 and x2)

f = x1’x2’ + x1x2

Ref: Geeksforgeeks.org