Help with rehashing slope

I need to make a rehashing direct slope for three tones, the initial two varieties will take distance of 0% to 7.5% while the third variety will take a distance of 15%, I need to code it and am as yet having blunder knead
Please contact me here: manana

I have moved your post into its own topic.
Can you try clicking on the Ask for Help button from your challenge?
it will open a new topic with your code and a link to the challenge.
Be sure to fill in the field to describe the problem you are having as well.