Revolut interview question

Questions about RxJava. Analyze sample about flatMap().