Machine A can produce 40 bolts per minute, whereas machine B can produce only 30 per minute. Machine A begans along to make bolts but it breakdown after 1.5 minute and machine B must complete the job . If the job requires 300 bolts, how long does the whole operation take?