How to drive the geometry using the dimension?

I want to offset a line by 10mm.

I accidentally offset it by only 1mm. How can I dimension the distance and then change this dimension to make the line offset by 10mm?