I am having troubles with one type of tasks when preparing for an exam. I think I get the way to solve it when t = 0, but I don't really know what my approach should be when t>0.
//Edit Updated version for t>0. I think it might be correct now. Is it?