Damac Properties interview question

everything was easy