So, it would take around 42 hours for the pipe to leak one gallon.
Step-by-step explanation:
I'm not sure if that's the answer you wanted but... yeah.
I found out how many fl oz are in a gallon then divided that by 3. There are 128 fl oz in a gallon, divided by 3 ( the amount leaked per hour) I got 42.6666.....