given
a) focal length of camera lens is f = 50mm
object distance d0 = 3.2m = 3200mm
we have the lens equation as
1/f = 1/di +1/d0
or 1/di = 1/f - 1/d0
1/di = 1/50mm - 1/3200mm
di = 50.79mm
b) focal length of camera lens is f = 930mm
object distance d0 = 125000mm
we have the lens equation as
1/f = 1/di +1/d0
or 1/di = 1/f - 1/d0
1/di = 1/930mm - 1/125000mm
di = 936.97mm