A company produces a special type of widget, and the profit from selling \( x \) widgets is given by the function \( P(x) = 5x - 2x^2 \). The cost of producing \( x \) widgets is given by \( C(x) = x^2 + 3x + 10 \). If the company sold 7 widgets, what is the net profit? Let's think step by step and output the final answer within \boxed{}.
user