I am not good in physics and math but I will try.
x is in mm, D is in meter. Depending on age, x can be stretched to around 1 mm, and D, the near point or amplitude of accommodation 10-15 cm.
When x is zero (lens relaxed), D is infinity (or 6 m is as good as infinity when rays entering the eyes...