You need to be more specific about what you are looking for. The rules you quoted do not provide consistent LINEAR scaling.
, :
(1, 20) is on the line
(100, 80) is one the line
:
(80 - 20) / (100 - 1) = 60 / 99
y - 20 = (60 / 99) * (x - 1)
:
y = (60 / 99) * (x - 1) + 20
x = 50:
y = (60 / 99) * (50 - 1) + 20 = 2940 / 99 + 20 != 40
, .