Eddie is buying cookies and dounts. The store sells cookies packs of 9 and dounts in packs of 6. if Eddie wishes to buy the same number of cookies and dounts, what is the smallest number of each type that he can buy?​