for A for 1 hour it can produce $1/3$ batch of parts
for B for 1 hour it can produce $1/2$ batch of parts
for A+B for 1 hour they can produce 1/3 + 1/2 $ = $5/6$ batch of parts
so to produce 1 batch they need $6/5$ hours so they need 72 minutes
hope its clear