The price per shirt P and the amount of shirts(in thousands) n are related by a linear relationship, therefore, their relationship has the following format
Where m represents the slope of that line and b the y-intercept.
We know that 2 thousand shirts can be sold at a price of $80 each, and that 5
thousand shirts can be sold at a price of $65 each. Those statements tells us two points that belongs to our line, they are (2, 80) and (5, 65). To find the coefficients of our equation, we can just substitute those points in the line equation and then solve the resulting system for m and b.
Using the points in our equation, we have
Subtracting the second equation from the first equation, we get a new equation only for m.
To find b, we can use this value for m in any of the equation of our system
Using those values, we have the following line equation