A body is travelling along a straight line with constant acceleration \(\quantity{a}{m\,s^{-2}}\). The body passes a fixed point \(O\) on the line with velocity \(\quantity{u}{m\,s^{-1}}\). Between \(\quantity{4}{s}\) and \(\quantity{5}{s}\) after passing \(O\) the body travels \(\quantity{10}{m}\). Between \(\quantity{6}{s}\) and \(\quantity{7}{s}\) after passing \(O\) the body travels \(\quantity{12}{m}\).
Calculate the values of \(u\) and \(a\).