The equation to represent the situation is like so:
[tex]x+(x-12)+3(x-12)=332[/tex]
Simplify.
[tex]x+x-12+3x-36=332[/tex]
[tex]5x-48=332[/tex]
[tex]5x-380=0[/tex]
Solve for the variable x.
[tex]5x=380[/tex]
[tex]x=76[/tex]
[tex]first\ man =x\\second\ man =x-12\\machine=3(x-12)[/tex]
[tex]first\ man=76\\second\ man=64\\machine=192[/tex]
Verify.
[tex]x+(x-12)+3(x-12)=332[/tex]
[tex]76+(76-12)+3(76-12)=332[/tex]
[tex]76+64+192=332[/tex]
[tex]332=332[/tex]
[tex]LS=RS[/tex]