Explanation :
The attached figure shows a distance time graph. The object starts its motion from t = 0.
The path OA shows that, it is moving with uniform motion. Its distance is increasing continuously with time. From 8 s to 12 s, the object is at rest (AB).
After 12 s, the object again travels equal distances in equal interval of time i.e uniform motion.
Hence, this is the required solution.