Network Rail interview question

background to explain very accurately