We are looking for the linear equation P(n) = mn + b where n is equal to the number of shirts sold and P(n) is the price per shirt.
We know that if n = 3,000, P(n) = 78, and if n = 7,000. P(n) = 62. We can write these in quation form (using P(n) = mn +b):
We can then use the substitution method to solve for m and b. Let's use 78 = 3,000m + b to express b.
We'll then substitute this in 62 = 7,000m + b.
Then we can use m = -0.004 to solve for b.
We now have the complete equation for P(n):