Henkel interview question

Basic logic calculation questions