The gentleman is scanning the image that the woman in the blue shirt is providing him.
The man is scanning an image for a woman.
A gentleman is a form of man. "Scanning an image" is a rephrasing of "scanning the image."
exists e1 p1 s1 x1 x2 x3 x4.(n_male(x2) & n_shirt(x4) & a_blue(s1) & Theme(s1,x4) & n_woman(x3) & n_image(x2) & n_gentleman(x1) & exists e2.(Theme(e2,x2) & Actor(e2,x3) & v_provide(e2) & in(x3,x4)) & that(e1,p1) & Theme(e1,x2) & Actor(e1,x1) & v_scan(e1))
exists e1 x1 x2 x3.(n_man(x1) & for(e1,x3) & n_woman(x3) & Theme(e1,x2) & Actor(e1,x1) & v_scan(e1) & n_image(x2))