TransDyne interview question

Nothing much difficult.