The business (Widgets, Inc) forms the linear model of its widget pricing function based on given information:
Let x represent number of widgets sold, and p(x) price per widget in dollars. Firm starts by selling x = 200 widgets at the set price of $30 each. After holding the "sale", firm proposes that the $10 discount on price will yield the increase of 40 more widgets sold. Determine the linear pricing function p(x) based on the information.