I know that this isn't the place for such basic questions, but I didn't find the answer to this anywhere else. It's pretty simple: some particle moves in straight line under constant acceleration from one point $x_0$ to another point $x_1$ during the time interval $\Delta t_1$. When the particle reaches the point $x_1$ it reverses it's movement and goes to another point $x_2$ during another time interval $\Delta t_2$. I want to determine $x_2$, however I don't understand how to do it.
My try was: Let $\Delta x_1 =x_1 -x_0$ be the first displacement and let $\Delta x_2 = x_2 - x_1$ be the second displacement. Then I can calculate two velocities:
$$v_1 = \frac{\Delta x_1}{\Delta t_1}$$
$$v_2 = \frac{\Delta x_2}{\Delta t_2}$$
My thought is then to find the acceleration as:
$$a = \frac{v_2-v_1}{\Delta t_2 + \Delta t_1}$$
But I'm not sure it'll work, since the movement reverses at $x_1$ and since I'm assuming the velocities constant on the intervals.
Can someone help me how to think with this problem, and how to solve it?