Minimizing or maximizing the first-passage time to a time-dependent boundary. (1st February 2022)