Ender 5 pro with sonic pad, retract after purge line ?

Please help, i need to retract after the purge line is printed. I have the Ender 5 pro with the sonic pad. How can i retract the filament a few mm after purge, and before the print starts.

I tried gcode, but i dont know what and how/where to put it.
After the purge line, the printer moves towards center of the buildplate. (i dont know why the printer does that) But it also strings after the purge line…