Are bromide ions brown-reddish in solution?
Look the Wittig-reaction up. Methyl-3-nitrobenzoate is an ester and has a nitro-group, right? Do those groups react with primary alkyl halides? Does anyone of your two compunds react with sodium hydroxide?
Assume you take two small samples of each compund and put them in a small container with some water in it, then try the compunds with methyl iodide (BTW, this one is pretty nasty and gaseous, right?) and sodium hydroxide. What products form and are starting materials or products soluble in water?