That problem is a typo. The question states that "a second warning device will come ON if all three vibration sensors do not agree", but when you look at the solution, it tells you to "form the function when A, B, and C agree".
I apparently had the same issue with that problem when I was studying because I have the "not" crossed out in the problem statement on page 146.