To find the number of pies \( p \) the class needs to sell in order to pay for the field trip, we start with the total cost of the trip, which is $386. The principal has already provided $75 for the trip.
The money earned from selling pies is \( 5p \), where \( p \) is the number of pies sold. To determine how much more money is needed after the principal's contribution, we can set up the equation based on the total cost:
Total money contributed by the class (from pies and principal) needs to be at least equal to the cost of the trip, which gives us the following expression:
\[ 5p + 75 \geq 386 \]
Rearranging this inequality will indicate how much money needs to be earned from selling pies after accounting for the contribution from the principal.
Thus, the appropriate inequality to find \( p \) is:
B. \( 5p + 75 \geq 386 \)