EDF interview question

Very classical questions, no traps to be expected