Answer is : (d) a = p - qt
We have following observations from position x versus time t graph.

From above graph we can draw following velocity v versus time t graph.

So, acceleration of given particle is initially positive but with time it becomes negative.
Hence, a = p - qt is best suited option.