Let us suppose 12 taps fills the tank in “x” hours
As the number of tank increases, the time to fill decreases.
So, the number of tanks and time to fill are in inverse proportion.
∴7×6=12×x
⇒x=4212
⇒x=3.5
Hence, 12 taps will fill the tank in 3.5 hours or 3 hours 30 minutes.