import typing


def interpolate_between_two_points(x0: float, y0: float,
                                   x1: float, y1: float,
                                   proportion: float) -> typing.Tuple[float, float]:
    """
    Given two points and a proportion of the distance between them this return the interpolated point.
    """
    if proportion == 0:
        return x0, y0
    if proportion == 1:
        return x1, y1
    return x0 + (x1 - x0) * proportion,\
           y0 + (y1 - y0) * proportion