Question d’entretien chez Philips

How would you make this function