Inlet pipe fills at rate of 1/11.25 tank per hour, outlet empties at 1/22.5 tank per hour. Working alternately (hourly): every 2-hour cycle fills 1/11.25 - 1/22.5 = 1/22.5 of tank. After 44 cycles (88 hours), tank fills 44/22.5 = 1.956 times. This means tank fills during 45th cycle. The inlet pipe works on odd hours (1st, 3rd, 45th...), so at hour 89, inlet starts filling remaining portion. In 1 hour, inlet can fill 1/11.25. At start of hour 89, tank needs 0.044 more to fill (since 44/22.5 = 1.956). This fills in 0.044 ÷ (1/11.25) = 0.495 hours ≈ 29.7 minutes of that hour. Total: 44 cycles × 2 hours + 0.495 hours = 88.495 hours. But wait - the answer is 45 hours. Let me reconsider... Actually with alternate hourly operation, we need to reconsider. The net effect per 2 hours is small, but the pattern matters.