i got it!
def square(x1,y1,x2,y2,x3,y3,x4,y4):
p1=point(x1,y1)
p2=point(x2,y2)
p3=point(x3,y3)
p4=point(x4,y4)
return polygon([p1,p2,p3,p4])
s1 = square(x1=0,y1=0, x2=-100,y2=0,x3=-100, y3=-100,x4=0, y4=-100)
s2 = square(x1=0,y1=0, x2=100,y2=0, x3=100,y3=100, x4=0,y4=100)
show(s1, s2)