Escaping sequence in string

Hi guys, i don’t quite understand the how the escaping sequence in strings works, i have tried it a couple of times and i don’t seems to get it, please can anyone explain better to me and put me through. Thanks in advance.

what challenge is this? what’s your code?