6. A cyclist is moving along a straight horizontal road and passes a point \(A\). Five seconds later, at the instant when she is moving with speed \(10 \mathrm {~m} \mathrm {~s} ^ { - 1 }\), she passes the point \(B\). She moves with constant acceleration from \(A\) to \(B\).
Given that \(A B = 40 \mathrm {~m}\), find
- the acceleration of the cyclist as she moves from \(A\) to \(B\),
- the time it takes her to travel from \(A\) to the midpoint of \(A B\).