<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def interpolate(v1, v2, t):
    '''Interpolate from one vector to another.
    '''
    return add(v1, mul(sub(v2, v1), t))