Quantifying the Reward

I can’t precisely decipher from articles or the code exactly how the rewards are calculated. Does this look right?