Consider the three resonance structures for the cyanate ion…