An Indian man is scratching the back of his head while thinking.
An man is cooking food.
The man is scratching while thinking,  therefore not actively devoting his time to cooking.
exists e2 e1 s1 x1 x2 x3.(n_head(x3) & of(x3,x2) & n_male(x2) & n_back(x2) & while(e1,e2) & Actor(e2,x1) & v_think(e2) & Theme(e1,x2) & Actor(e1,x1) & v_scratch(e1) & of(x2,x3) & n_man(x1) & a_indian(s1) & Theme(s1,x1))
exists p1 x1.(exists s1 x2.((x1 = x2) & n_food(x2) & a_cooking(s1) & Theme(s1,x2)) & n_man(x1))