1. The inverse function is found isolating x, as follows:
[tex]\begin{gathered} P(x)=30x-300 \\ P(x)+300=30x \\ \frac{P(x)+300}{30}=x \\ \frac{P(x)}{30}+\frac{300}{30}=x \\ \frac{1}{30}P(x)+10=x \end{gathered}[/tex]Changing the name of the variables, the inverse function is:
[tex]y=\frac{1}{30}x+10[/tex]where y represents the amount of trucks and x the profit.
2. Replacing with x = 20,000 into the inverse function, we get:
[tex]\begin{gathered} y=\frac{1}{30}\cdot20000+10 \\ y=666.67+10 \\ y=676.67 \end{gathered}[/tex]The amount of Trucks needed to produce a profit of $20,000 is 677