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