The formula p=8n-30 gives the profit p when a number of items n are each sold at $8 and expenses totaling $30 are subtracted
a. If the profit is $170.00, how many items were bought
b. If the same number of items were bought but the expenses changed to $40, would the profit increase or decrease, and by how much