Answer: Detritus are the dead animal and the rotting logs.
Producer is the living maple leaf
Primary consumer or decomposers are fungi, cricket maggots
Secondary consumers are earthworm and millipede.
Tertiary consumer aren't available here.
Both secondary and tertiary consumer is Robin Alligator Lizard.
A producer is an organism that can produce food from using Inorganic substances like carbon dioxide and water in presence of sunlight. Plants are the producers, so is living maple leaf.
Detritus are the substances that are dead and needs to be decomposed and recycled as new raw products, so is rotting log and dead animal.
Primary consumers and decomposers are the insects and Fungi as well as maggots.
Secondary consumers consume primary consumers as food, so are earthworm and millipede.
Only tertiary consumers are not in list, because alligator lizard can consume both primary and secondary consumers.