The price of the shirts is p = 100 $/shirt
The two brothers brought n = 4 shirts. This represent:

The store manager gives a discount of 50 dollars:

The two brothers split the total discounted cost between the two:

Each brother spent 175 dollars.
We can express it (an leave it unsolved) as:

n: number of shirts purchased.
p: price per shirt.
d: discount on the total purchase.
If the discount is per shirt, we have:

If we solve it, we have:
