Final answer:
Kelly sold 13 CDs and 3 flowers.
Step-by-step explanation:
Let's denote the number of CDs sold as 'x' and the number of flowers sold as 'y'. We can create two equations based on the given information:
1. x + y = 16 (the total number of items sold)
2. 12x + 3y = 165 (the total amount sold)
To solve this system of equations, we can use the substitution method. By rearranging the first equation, we get x = 16 - y. Substituting this value of x into the second equation, we have 12(16 - y) + 3y = 165. Simplifying this equation, we get 192 - 12y + 3y = 165. Combining like terms, we have -9y = -27. Dividing both sides by -9, we find y = 3. Substituting this value of y back into the first equation, we find x = 13.
Therefore, Kelly sold 13 CDs and 3 flowers.