WKBJ-type approximation for finite moments perturbations of the differential equation y'' = 0 and the analogous difference equation