Because there are 40*( 1- 10%) in the first workshop now, according to the fact that the number of people in the first workshop is less than 80% of the number of people in the second workshop, the equation is obtained:
40 * (1-10%) = 80% x-4, and the solution is X=50.
There are 50 people in the second workshop now.