Retrieve the average total cost function given that the total cost=Qsquared+5Q+6