I remember doing this one a while back, took me a bit to realise what I had to do. Could you do part i? For part ii you have to differentiate t(bus) -t(girl) and maximise it.
T(1) and T(2) in the above post are the two expressions. T(1) is the time taken for the bus to go from D to P. T(2) is the time taken for Claire to run from F to P. BTW, this is a 2-unit question as you most probably know.