Step 1: Understanding the Concept:
Net filling rate is the filling rate minus the emptying rate.
Step 2: Key Formula or Approach:
1. Filling rate of pipe A: $\frac{1}{12}$ cistern/hour.
2. Emptying rate of pipe B: $\frac{1}{18}$ cistern/hour.
Net rate when both pipes operate simultaneously:
\[\text{Net Rate} = \frac{1}{12} - \frac{1}{18} = \frac{3 - 2}{36} = \frac{1}{36}\text{ cistern/hour}\]
Step 3: Detailed Explanation:
Total time required to fill the cistern:
\[\text{Time} = \frac{1}{\text{Net Rate}} = 36\,\text{hours}\]
Step 4: Final Answer:
Thus, the cistern will be filled in 36 hours.