Reaction of 1,3-dimethyl-2,5-dintrobenzene with NaOMe/MeOH
You are correct that the nitro group can be displaced by methoxide, this has been reported examples here.
My instinct is that the less hindered nitro group is the one that will be displaced.