Bentley Systems interview question

How did I solve problems