The man in the white coat is trying to diagnose the problem so that he can fix it and get the machine running again.
The doctor is trying to fix the X-ray machine.
The man trying to fix the machine is not necessarily fixing an X-ray machine.
(-x)
(-x)