Always, try to propose the mechanism first. It really helps.
Now, since the given compounds are in acidic medium, obviously, they have to be protonated first, and the only site available is the -OH group.
Once you protonate the -OH , you get a -OH2+. Since water is a good leaving group, the intermediate you obtain is a carbocation.
The stability of the carbocation determines the rate, yield, reactivity, etc.
More stable is the intermediate, greater is the reactivity of the initial compound.
Now, in compound IV, the carbocation you get is a benzylic one, which is superbly stabilized by resonance.
In III, the intermediate is a secondary carbocation....hyperconjugation
In II and I, the inductive effect (-I effect) of fluorine will play a major role. If the positive charge is under the influence of a -I group, then its stability is lost. And, greater the proximity of the -I group, more is the damage done. So, II>I