hrm interesting.
When a spectacle magnifier produces an image 25cm in front of the lens you need to use the formula for maximum magnification. The fact that the distance to the cornea has not been specified also suggests this. In other words 5x is the maximum magnification that this lens can produce, should the lens be held say 10cm from the cornea the magnification would be less. This is a special case of angular magnification where the magnification is at a maximum due to the cornea being virtually in contact with the lens and the image being produced at the reference seeing distance (25cm)
Anyways here's the formula...M(max)=1+F/4
which when rearranged gives... (M-1)*4=F
substitute into formula...(5-1)*4=F
therefore F=+16.00D
to find focal length we take the reciprocal of F...1/F = 1/16 = 0.0625m or 6.25cm
hope this is useful