Question: how to know if acceleration is positive or negative?
Answer: According to our principle, when an object is slowing down, the acceleration is in the opposite direction as the velocity. Thus, this object has a negative acceleration. In Example D, the object is moving in the negative direction (i.e., has a negative velocity) and is speeding up.