It is given that a dice is rolled until a six comes up. It can be possible that the number 6 comes up with first throw or it can come up in second throw while first throw can contain any number from 1 to 6 and so on.
Thus, the sample space of this experiment is,
Note, there are infinite elements in the sample space as it might take any number of throws for a 6 to come up