It would take 4 hours to complete a production order by one machine and another machine take 2 hours to complete the same order. If both machines work simultaneously at their respective constant rates, then the time taken to complete the same order is _____ hours.