Look at the three 5K resistors as a voltage divider. Then look at the two pink triangles which are comparators and they compare the voltage dropped by the voltage divider with input voltages. Finally, is the control stage (flip flop-F/F) and the output stage.