def translation(vertex, delta):
    """Move, or slide, a coordinate in 2d space."""
    [vertex_x, vertex_y] = vertex
    [delta_x, delta_y] = delta
    return [vertex_x + delta_x, vertex_y + delta_y]