Dubble pen

Hi, I’m working with a dubbel-pen-function, to my drawprogram.
But it is some problems, you can change the distance between the two
pencils, in X & Y.
But it don’t works… Can someone help please?