edit: I discovered I had to use glPushMatrix() and glPopMatrix()

Good morning. I wrote the program below but I can't make it show the lines of x,y only translate the object. What could I have done...