Function translate

translate(x,y) returns a translation by the given offset $(x,y)$.