Micro Focus interview question

Brain Teaser Like puzzle and clock problem