There are two teams I and II of workers at a bridge construction site. Each team consists of W workers. On a particular day, a worker was shifted from team I to team II, if the ratio of the amount of work done by team I in (W + 1) hours and by team II in (W + 2) hours is 10 : 12, respectively, then W is equal to:
1
24
2
20
3
16
4
18