we are given the cost for 4 shirt s and for 12 shirts. Assuming that the shipping cost is constant, we can model the cost of the shirts as a linear equation. So, we want to find an equation of the form
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
where m is the slope of the line and b is the y-intercept.
Using the given information, we can wirte the following points (4,35) and (12,95). We will use this points to find the value of b and m.
Recall that the slopé of a line that passes through points (a,b) and (c,d) is described by the formula
![m=\frac{d\text{ -b}}{c\text{ -a}}=\frac{b\text{ -d}}{a\text{ -c}}](https://img.qammunity.org/2023/formulas/mathematics/college/4gb5s4d34dqgkfjacsc9o91y7dnh9ouend.png)
in our case, we have a=4, b=35, c=12 and d=95. So we get
![m=\frac{95\text{ -35}}{12\text{ -4}}=(60)/(8)=(30)/(4)=(15)/(2)=7.5](https://img.qammunity.org/2023/formulas/mathematics/college/f38a8x5b6ggxv98k0ryo9v5p4srminiwsg.png)
So, so far we have the equation
![y=7.5x+b](https://img.qammunity.org/2023/formulas/mathematics/college/txgmhefwwyjrlnp9g8f03tl2bmth07t3zq.png)
To find the value of b, we will use tghe fact that, as the line should pass through the point (4,35), this means that if we replace x by 4, we should replace y by 35. So we have that
![35=7.5\cdot4+b=30+b](https://img.qammunity.org/2023/formulas/mathematics/college/b8mm2p1v4tp6w72qdovlxuogkbr07l7fn5.png)
so if we subtract 30 on both sides, we get
![b=35\text{ -30=5}](https://img.qammunity.org/2023/formulas/mathematics/college/rltdwkph388ks1vppibocrq00tdxkeuqm7.png)
so the line equation would be
![y=7.5x+5](https://img.qammunity.org/2023/formulas/mathematics/college/uzvvlc7ormhdez0baqw4br1cp34evabhn9.png)
Now, we want to find the price for 10 tshirts. So we simply replace x=10 to find
![y=7.5\cdot10+5=75+5=80](https://img.qammunity.org/2023/formulas/mathematics/college/fp20h6knmmywozrta6fp66d6bs0yhv1hax.png)
so the price of 10 tshirts is 80