Pipes A and B can fill a tank in 12 minutes and 15 minutes, respectively. The tank when full can be emptied by pipe C in x minutes. When all the three pipes are opened simultaneously, the tank is full in 10 minutes. The value of x is:
1
24
2
18
3
15
4
20