This is a very simple circuit. If this is a one and only thing then you could make a drawing using white paper and pen, scan it into a PDF format and convert to g-code using a freeware. If you want to create a more professional looking layout you could use a software and create a DXF file, convert that to G-code.
However, if you want to do it even better than you start using a circuit designer software and learn how to generate the g-code from that, especially if you want to create more complex and other circuits also. I recommend https://easyeda.com/ which is what I am using. Practice and you will quickly learn it. You can also just manually create the PCB layout with the same tool if you don't want to create a project with complete diagram.