<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(self, target, extent):
 """ Move this vector towards the given towards the target by the given extent. The extent should be between 0 and 1. """

        target = cast_anything_to_vector(target)
        self += extent * (target - self)