Tom has a certain number of cookies he wants to give to his three friends so that his three friends will each get three cookies. How many cookies does Tom have?x=9x=10x=6x=405