$\begin{array}{1 1}(a)\;\text{Decomposer}\\(b)\;\text{Primary producer}\\(c)\;\text{Primary consumer}\\(d)\;\text{secondary consumer}\end{array} $