def scale(xy, scale_factor=1):
    """
    Scales coordinates (x, y) by scale_factor.
    :param xy, (x, y), coordinates
    :param scale_factor, the scale_factor
    :return: scaled coordinates: (x, y)
    """
    x, y = xy
    return x * scale_factor, y * scale_factor
