I want to get a number between two numbers based on a number between two other numbers. How can we build a function for that?
Suppose that we have a first numbers