This is confusing. Are you or are you not distinguishing case? You say that B and b are different, but them you use M and X which don't appear in your equations, implying that they are the same as m and x. I suppose the equations are reallyNo "B" and "b" are different things.
Here a, b and c are unknown
B = Bonus
M = Minimum Sales Target
X = Maximum Sales Target
I need a working formula so when I set the sales to M then the bonus should be 0 and if I set sales to X then bonus should be B.
I did it for leanier [linear?] equation but don't understand how to do it for curved equation. May be we can use e but how?