The Jones family and the Henderson family each used their sprinklers last summer. The water output rate for the Jones family's sprinkler was 30 L per hour. The water output rate for the Henderson family's sprinkler was15 L per hour. The families used their sprinklers for a combined total of hours, resulting in a total water output of 750 L. How long was each sprinkler used?