Bending Spoons interview question

Math problems from high school that you usualy forget.