The formula to find the distance between a point and a line is
Graphically
So, in this case, you have
Then
The absolute value is the distance between a number and zero. The distance between -10 and 0 is 10.
Therefore, the distance between the point of the line is 10 units.