i got 6.40.
i just let t = t-1 for the harbour entrance, since whatever is happening at the wharf is just happening at the harbour entrance an hour earlier, and then set y =6 since the tide has to be greater than 6. The tide will already be greater than 6 since it starts at a high tide at 2am...