Here is the full question and the part that I am getting trouble with is the second part:
A block is moving from left to right. The frictional force acting on a small block of mass $0.15\ \mathrm{kg}$ has a magnitude of $0.12 \ \mathrm N$. The block is set in motion from a point X on the surface, with a speed of $3\ \mathrm{ m/s}$. It hits a vertical wall at a point Y on the surface $2$ seconds later. The block rebounds from the wall and moves directly towards X before coming to rest at the point Z. (to the right of X). At the instant that the block hits the wall, it loses 0.072J of its kinetic energy. The velocity of the block, in the direction from X to Y is v ms at time $t\ \mathrm s$ after it leaves X.
i) Find the values of $v$ when the block arrives at Y ($1.4 \ \mathrm{m/s}$) and when it leaves Y ($1\ \mathrm{m/s}$ in the opposite direction) and the value of t when the block comes to rest at Z (t=3.25 s). Sketch the velocity-time graph. (done)
ii) The displacement of the block from X in the direction from X to Y is $s\ \mathrm m$ at time $t\ \mathrm s$. Sketch the displacement-time graph of the whole journey.
So here is my problem, to sketch the displacement time graph I will use SUVAT equations of motion. I am not having problem with the first one. : it's $s=ut + 0.5at^2$. substituting $u = 3$ and $a= -0.8$. (as there is a deceleration due to friction (I have calculated it)). and that gives me $s = 3t - 0.4t^2$ , a nice n-shaped quadratic curve between the limits $t=0$ and $t=2$. But for the journey in the opposite direction : from Y to Z, I have done my calculations seperately, treating this journey as the displacement from Y to Z. But on my graph i will need to show the whole journey from X to Z. So the only SUVAT equation i'm getting for the whole journey is the first one mentioned above. As the second one ($s= t - 0.4t^2$) is not related to the first one. My question is how do i find an equation that is suitable for the second part of the journey that relates it to the first one? in my book the answer has a u-shaped curve for the second part of the journey. Why is this? Can you explain in detail?