contestada

In a cookie mix, we find ginger cookie, molasses cookies, and pinwheel cookie in a ratio of 1:2:7. If a bag of the mix contains 126 pinwheel cookie, How many ginger cookies are there?