I need help with this problem and an explanation for the solution described below (Discrete mathematics):