I think I have solved the challenge, but I have made two tries for sending the solution and both of them seem to be wrong. Furthermore, I have sent a PM to Mr.…