Solution of Tutorial 2 (MI - S1 2023-2024)