The Wright family and the James family each used their sprinklers last summer. The water output rate for the Wright family's spr
inkler was 40 L per hour. The water output rate for the James family's sprinkler was 20 L per hour. The families used their sprinklers for a combined total of 50 hours, resulting in a total
water output of 1300 L. How long was each sprinkler used?