Intermediate Mathematical Challenge 2022 Answers