B about 4,000 because 6,963 rounds to 7,000 and 3,098 rounds to 3,000 - 7,000-3,000= 4,000
The 3 panes would cost $7.65.
We have:

Thus:

Adding

gives:

Factoring gives:

Thus, we have:

or

.
Note that because

, there will be no solutions

of the form

for positive integer

and solution

. So we find the basic values of

giving

.
For

with positive

,

(this can be seen easily from the unit circle. But

, a contradiction. So we examine the case in which

.
In this case,

. So this is the only solution to this equation.
Substituting this back in, we have

, as desired. So this is a valid solution.
Thus,

.
3s represents the 3 shirts × s which is the unknown price.
2p represents the 2 pairs of pants × p which is the unknown price.