It's funny how when you tell someone exactly what you are looking that the answer kind of shows itself. After posting the problem and then sleeping on it a came up with the solution. If anyone is interested it is:

(task * 50) - ((level - task) * ((task * 50) * .2))