x is three times as old as y was three years ago. After 17 years, y will be as old as x is today. What is the sum of the ages of x and y today?

(a) 30 years
(b) 34 years
(c) 38 years
(d) 42 years