Two trucks were supposed to transport a certain cargo in 6 hours. The second truck was delayed in the garage, and when it arrived at the loading site, the first truck had already transported of the total cargo; the remaining part of the cargo was transported by the second truck, and the entire cargo was thus transported in 12 hours. How much time would each truck need separately to transport the cargo?