A fabric store sells cotton fabric for $12.50 per yard and silk fabric for $18.00 per yard. A customer purchased yards of cotton fabric and yards of silk fabric, spending a total of $325.00. The situation is represented by the equation . If the customer bought exactly yards of silk fabric, how many yards of cotton fabric did they buy?