Widget Wonders produces widgets. They have found that the cost, c(x), of making x widgets is a quadratic function in terms of x. The company also discovered that it costs $16 to produce 2 widgets, $18 to produce 4 widgets, and $48 to produce 10 widgets. Find the total cost of producing 8 widgets. Write your answer in quadratic equation.