So, grey is for carbon, red is for oxygen and blue is for nitrogen.
From the color code and the equation shown in the picture, choices A and E are excluded because the output in these equations is oxygen gas not nitrogen gas.
Again from the picture we find that:
The inputs are: 2 carbon dioxide and 2 nitrogen oxide (2CO2 + 2NO)
The outputs are: 2 carbon dioxide and 1 nitrogen molecule (2CO2 + N2)
Combining the inputs and outputs, the following equation is formed:
2CO2 + 2NO ........> 2CO2 + N2
Comparing the formed equation with the choices, we find that the correct choice is D