(a) Position at t=2 s: the first formula gives 2(2)=4 m and the second gives 4+0−0=4 m, so x is continuous.
Velocity: for t<2 s, v=dtdx=2 m s−1. For t≥2 s, v=2−2(t−2), which equals 2 m s−1 at t=2 s. So v is continuous too.
Acceleration: a=0 for t<2 s and a=dtdv=−2 m s−2 for t>2 s. It jumps from 0 to −2 m s−2 at t=2 s.
(b) v=2−2(t−2)=0 at t=3 s, where x=4+2−1=5 m. After this it moves back.

(c) Yes, it is consistent. The x-t graph has no kink at 2 s because the slope (v) is the same on both sides; the straight line joins the parabola smoothly along its tangent. The v-t graph does have a corner at 2 s, because its slope (a) jumps. A sudden jump in acceleration (for example, brakes applied at one instant) is a useful idealisation. It still leaves x and v changing smoothly. Only a jump in velocity, which would need an infinite acceleration, is impossible.