For container A, each minute tap A us filling up the container by 2.7cm based on the following:
For container B,
Hence, each minute the water level in B fills fast by 4cm-2.7cm=1.3cm
3 minutes later, the water levels in both container will be same.
Now with a) solved, b) is easier. 😛