A packaging line produces 110 cartons per hour, a second line produces 90 cartons per hour, and inspection removes 20 cartons per hour for rework. The first line runs alone for 2 hours; then the whole system runs. What is the total time to net 940 cartons?