Building & Earth interview question

Coursework taken