Tom had $360. He spent 1/4 of it on a bag and 1/3 of the remainder on a shirt.

How much did Tom spend altogether?

To solve this problem, we first need to find out how much Tom spent on the bag and then find out how much he spent on the shirt.

1. Start with the total amount of money Tom had: $360.

2. Find out how much Tom spent on the bag:
- Tom spent 1/4 of the total amount on the bag.
- Multiply the total amount by 1/4: $360 * 1/4 = $90.
- Tom spent $90 on the bag.

3. Next, calculate the remainder after buying the bag:
- Subtract the amount spent on the bag from the total amount: $360 - $90 = $270.
- The remainder is $270.

4. Find out how much Tom spent on the shirt:
- Tom spent 1/3 of the remainder on the shirt.
- Multiply the remainder by 1/3: $270 * 1/3 = $90.
- Tom spent $90 on the shirt.

5. Finally, calculate the total amount Tom spent:
- Add the amount spent on the bag and the shirt: $90 + $90 = $180.
- Tom spent a total of $180.

Therefore, Tom spent a total of $180 altogether.