Hey,
I'm assuming that the question is asking for the average speed for the whole journey. The formula that needed to be used was
average speed = total distance/ total time
You used 20 km as the total distance, but is that really the total distance covered ?? Notice how the question says she turns back and runs 5 km south after running 15 km north. At this point she has covered 20 km and is 10 km north from her starting point.
The question then says that after 2 hours she is 20 km from her starting point, implying that she has traveled 10 more kms north. Therefore after adding the values 20 km + 10 km, the total distance covered is 30 km, which when divided by 2 hours, gives you 15 km/h.