If all output is paid in wages to trolls and cost of lemon grass (in other words, the total cost of magic potion production equals to the output, where you can denote by r the price of 1 pound of lemon grass), calculate the shares of lemon grass and troll labor in Hogwarts' income.