Did you see the lines below (hitting expand)? If t >= 1.0, it returns q1.

So you get a function that gives q0 up to t == 0.0, linearly interpolates up to t == 1.0, then returns q1 for t > 1.0.

Nice, right? Always a solution.