A wholesaler in Divisoria bought 840 meters of curtain materials which were divided into 3 bundles in the ratio 2:5:7. How many meters of curtain materials were in each bundle?