Attached, my solution to this problem
Attached the problem and my solution, I hope you will like it
My solution: