i have a input of 25 and a output of 15 next a input of 19 and a output of 1

a simple relation could be linear, with a slope of 7/3

That would give you
y = 7/3 (x-25) + 15