Let x and y represent the two holdings.
Before trading day:
The holdings were worth x + y.
At the end of the trading day:
Holding x changes to x - 2500 because of loss.
Holding y changes to y + 1700 because of gain.
The holdings are worth $52500 at the end of trading, therefore
(x - 2500) + (y + 1700) = 52500
x + y - 800 = 52500
x + y = 53300
Answer:
Before the trading day, the holdings were worth $53,300.
At the end of the trading day, the holdings were worth $52,500.