This hinges on the deduction that there must be universities in 2 and 3. Since there cannot be a university and a jail in the same city, and since every jail needs another hospital, if we put three hospitals in either 2 or 3 we wouldn't have bough hospitals left over for our second jail.