PersonX spends the money
to get the money to find something to spend it on to go to work and earn a pay check to go to the bakl to cash his check to make a withdrawal to have money. to find something to spend the money on.