the ratio of men to women in the factory is 3 to 4. there are 228 men. how many workers are there?

3:4 228:x

x=304
304+228=532