The price of the shirts is p = 100 $/shirt
The two brothers brought n = 4 shirts. This represent:
[tex]T=n\cdot p=4\cdot100=400[/tex]The store manager gives a discount of 50 dollars:
[tex]T_d=T-50=400-50=350[/tex]The two brothers split the total discounted cost between the two:
[tex]c=\frac{T\text{'}}{2}=\frac{350}{2}=175[/tex]Each brother spent 175 dollars.
We can express it (an leave it unsolved) as:
[tex]\frac{n\cdot p}{2}-d=\frac{4\cdot100}{2}-50[/tex]n: number of shirts purchased.
p: price per shirt.
d: discount on the total purchase.
If the discount is per shirt, we have:
[tex]\frac{n\cdot(p-d)}{2}=\frac{4(100-50)}{2}[/tex]If we solve it, we have:
[tex]\frac{n\cdot(p-d)}{2}=\frac{4(100-50)}{2}=\frac{4\cdot50}{2}=2\cdot50=100[/tex]