Man trying to fix a train by leaning into the equipment box.
A man is leaning into an equipment box to fix it.
Leaning into an equipment box to fix it is different way of saying trying to fix it by leaning into the equipment box.
(-x)
(-x)