I'm assuming that the "near point" of the eye is the closest distance to which it can focus, and that's where the two sources are located. So, it sounds like do is 25 cm. The image distance, di, is the distance between the lens and the image. So, that certainly sounds like the cornea-to-fovea distance to me, since, if the eye is focused on the objects, then their images should form on the retina. So, it sounds like di is 2.0 cm. That allows you to solve for f. So, the mistake you made was mistaking di for f. Keep in mind that f is not necessarily equal to the physical distance between the lens and the image. That's only true when focused to infinity (parallel rays), in which case 1/do becomes 0, and f = di. More generally, f is just a number that depends on the curvature of the lens. In the case of the eye, the lens curvature (and hence f) can change depending on whether you're trying to focus on nearby or more distant objects.
However, for this problem, I don't think you even need to solve for f. You just need to answer this question: how far apart must the two objects be in order to have the required image spacing on the retina? The problem indirectly tells you what the image spacing on the retina must be, because it tells you that the images must fall on two cones that are separated from each other by at least one unexcited cone in the middle. So that tells you how far apart the images must be in units of cone radii.
To answer this question about the spacing: suppose the two sources have separation y. Rays from each object that pass through the *centre* of the lens are undeviated. So, given the object-to-image distance, how far apart will be the points on the retina where these two rays land?