Mona bought some potted plants. Roses cost $9 per pot and lilies cost $7 per pot. She bought 24 potted plants, spending a total of $188. Write a system of equations that represents this scenario, where x is the number of roses and y is the number of lilies.
(a) + (b) = 24
9x + (c) = (d)