Edit in JSFiddle

var draw = SVG().addTo('body').size(300, 130)

var polygon = draw.polygon('50,0 60,40 100,50 60,60 50,100 40,60 0,50 40,40')
polygon.fill('#f06').move(20, 20)