Guy in blue jacket and hat standing in front of some type of machinery while starring up with a big smile.
The guy is working a machine.
Sentence 1 and 2 both talk about the same guy because he is standing in front of some type of machinery in sentence 1. Sentence 2 also mentions a machine so Guy in blue jacket is smiling and working a machine
(-x)
exists e1 x1 x2.(n_guy(x1) & Theme(e1,x2) & Actor(e1,x1) & v_work(e1) & n_machine(x2))