Well, I suppose that the Wish Number (x) is greater than the Minimum Number (z), and that their actual performance (y) is expected to be somewhere in between those two numbers. You could use a piecewise function such that:

extra credit if

and extra credit if

And I assume that they get hella points if they meet or exceed the Wish Number.