OATSystems interview question

I was given a use case