An object moves in a straight line with an acceleration of $8~\text{m}/\text{s}^2$. If after $1$ second, it passes through point $O$ and after $3$ seconds it is $30$ metres from $O$, find its initial position relative to $O$.
What is your method of thinking through this question? I feel like this should be very simple, but I am not getting the correct answer (which is $3$). I assume that the initial velocity was $0$ and therefore, by doing two integrations, got displacement $= 4t^2$, let $t = 3$ and equated it to $30 + c$, where $c$ is the initial distance. My thinking was that after $3$ seconds, the distance will be the initial distance $+ 30$, and after the same time, the distance will equal $36$ ($4 \cdot 3^2$).
Let's not make any extra assumptions about the velocity. Let's denote the position as a function of time as $x(t)$. We know that $$ x''(t) = 8 \qquad \Rightarrow \qquad x(t) = 4t^2 + v_0 t + x_0 $$ We also know that, at $t=1$, it passes the point $O$, for which we set the coordinate $x_1$ $$ x(1) = x_1 $$ And then, after 3 seconds (I interpret this as $t=3$) it's $30$ m from $x_1$, so $$ x(3) = x_1 + 30 $$ Plugging in these results, we get $$ \left\{ \begin{array}{ccc} 4 + v_0 + x_0 &=& x_1 \\ 36+ 3v_0 + x_0 &=& x_1 +30 \end{array} \right. $$ Can you continue from here?