when the returns to an input are diminishing and a profit maximizing firm chooses to hire more of the input, the total product curve has what kind of slope