If three friends went to the movies, that means we multiplied the cost of one ticket by 3. If we divide the expression 9x+6 by 3 (dividing each term by three; so 9x/3 + 6/3) we get 3x+2. This is the price of one ticket, since we divided by the number of friends (3).
The product would be 3*(3x+2).