It is (supposedly) most likely at XXX, since the client will use old coins/transactions when sending 5 BTC from XXX to YYY.
So, this means it is client dependent?
I'm not convinced that this the proper way to trace "my coin"
You can find out by looking at the 5 BTC transaction, opening up transaction details, and determining what transaction outputs make up it.