Answer:
13 miles
Step-by-step explanation:
Given that he traveled in a straight line to each destination. Then,
i. distance from his home to soccer field = 
= 
= 
=
= 5 miles
ii. The distance from soccer field to the library = 8 miles.
So that we can say that;
Ryan's total distance from home to the library = 5 + 8
= 13 miles
Thus, Ryan would have traveled 13 miles by the time he reached the library.