Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
Dylan filled his glass with ice cubes before he poured his soda into it. He counted and there were 8 ice cubes in his glass. Later when he prepares a pitcher of lemonade he puts two times as many ice cubes in the pitcher. Then it is time to refill the ice cube trays which have 12 spaces each for ice cubes. How many trays does Dylan need to fill if he used exactly all the ice they had in them?

### Response:
In his glass there were 8 ice cubes, which means the ice cube trays originally had 8 ice cubes + 8 x 2 = 8 x 3 = <<8+8*2=24>>24 ice cubes.
Each ice cube tray holds 12 ice cubes, so Dylan needs to fill 24 ice cubes / 12 spaces in each tray = <<24/12=2>>2 total ice cube trays.
#### 2