2 7/8 miles. Try drawing it out like with a dot for jack, the school and the library in order from left to right. Then label the distances between the points given in the question. Something like
5/8 miles 2 1/4 miles
Jack School Library
You'll find that jack is 5/8 + 2 1/4 miles from the library