My son has the following missing number pattern to solve.

? 17 37

29 38 9

1 21 ?

I can not figure this out. What is the answer for the questions marks?