Discrete math problem

boney171