The Westminster Widget Company has an old machine that can produce 24 widgets in three hours. Now they have purchased a new machine that can produce 48 widgets in four hours. Working together, how long will it take the two machines to produce 120 widgets?