Let's go through a benzyne reaction (also called elimination-addition).
In the reaction below, the strong base (NaNH2) will form a benzyne intermediate, which when forms either ortho nitroaniline or meta nitroaniline.
Used curved arrows to show the formation of each intermediate and the final products.
