UBS interview question

Maths questions dealing with graphs