He ran the 10 kilometers in a total of 20 + 30 = <<20+30=50>>50 minutes.
Therefore, he ran at a pace of 50 minutes / 10 kilometers = <<50/10=5>>5 minutes per kilometer.
#### 5