If 40 men working on a project can complete the job in 100 hours, how many men would be required to complete the job in 80 hours?

--

I am unsure of my equation, so can someone check it?

40(100)=80x

x=50

50 men are needed to finish the job in 80 hours.

Is this correct?