Rex is four times as old as Ted. If the sum of their ages is 30, how old is Ted?
A: 5
B: 8
C: 10
D: 6
A: 5
B: 8
C: 10
D: 6