Not sure yet. The first was obviously right next to the race-street, but I don't know where JFK Library is in reference to the street and the second was somewhere away from the street (and so far, nobody has said "3rd explosion").
JFK Library is on the Univ of Mass, Boston campus. This is a few miles SE from Copley Square, the site of the marathon explosions.