Doubt about how task works

suppose i have two task.The higher priority task is turning on a red led and it turns off then goes into blocked state using vtaskdelay.Now the low priority task is printing hello world 5 times.Consider that the vtask delay is small and the higher priority task starts at middle of task 2.will the lower priority task continue from middle when task 1 again enters blocked state or will it start again from the start of the task 2 function.

Preemption means that the state of the current task is saved on preemption and restored when the scheduler switches back to this task. So the task continues exactly at the point where it was preempted. Otherwise multi-tasking wouldn’t be possible at all.