DiogenesLamp is correct, the 2nd photo is the one with the older guy (Bill Ayers) and the girl with the backpack (Bernardine Dohrn).
The first photo is of Obama’s very, very close friend Phil Boerner.
Once again, there's no way in hell that that is Ayers and Dohrn in that photo. There are plenty of reasons to believe that Obama knew and associated with Ayers at that time, but them in that photo is absurd.