Cosmological parameters from lenses distance ratio