The formula p=nc-e gives the profit p when a number of items n are each sold at a cost c and expenses e are subtracted. If p = 3750, n = 3000, and e = 900, what is the value of c?