7.(12%) Find the value of the marginal cost and the average cost of the total cost function

$C = 5q^2 + 10q + 100$ when the firm produces 10 units of outputs.