Viridien interview question

three math problems