To find the profit function \( p(x) \), we start with the definition of profit, which is given as:
\[ p(x) = \text{Revenue} - \text{Cost} \]
From the problem, we have:
-
Revenue from selling \( x \) shirts: \[ f(x) = 11x \]
-
Cost of buying \( x \) shirts: \[ c(x) = 6x + 20 \]
Now we can substitute these functions into the profit equation:
\[ p(x) = f(x) - c(x) = 11x - (6x + 20) \]
Now, simplify the expression:
\[ p(x) = 11x - 6x - 20 \] \[ p(x) = 5x - 20 \]
Thus, the profit function is:
\[ p(x) = 5x - 20 \]