The Henderson family and the Ramirez family each used their sprinklers last summer. The water output rate for the Henderson family's sprinkler was 40 L per hour. The water output rate for the Ramirez family's sprinkler was 35L per hour. The families used their sprinklers for a combined total of 55 hours, resulting in a total water output of 2125 L. How long was each sprinkler used?