Lisa sold 6 more than 3 times as many cookies as Mike and then sold 3 more at the end of the sale. Barry sold 9 more than three times as many cookies as Mike. How many cookies did Mike sell ?