XYZ interview question

teach a lesson on mathematics