Q7 Matemática  (Czech-Polish-Slovak Match 2018)

Tirado daqui. Incluindo soluções oficiais em inglês.