Solutions of the exam tasks