G1 X1 Y1 cuts a straight line from where you are currently to a point 1 unit to the right and 1 unit forward, IF you are in incremental mode, but if the mode is absolute it may move or not depending on the starting point. G2 is arc to right, G3 is arc to left and both require an I and J which describe where the center is, depending on whether it is incremental or absolute. You are gonna want to study up on this a bit!