def spaces(x, spa):
    """
    spaces(x, spa)

    Returns an array of the spacings from the original point given the distance
    and the number of spaces.
    """
    return list(map(lambda y: y * (x/spa), range(1, spa + 1)))