Viridien interview question

High school level math problems