In January 2006, US first class mail rates increased to 39 cents for the first ounce plus 24 cents for each additional ounce. If Sabrina spent $15.00 on a total of 45 stamps of these two denominations , how many of each denomination did she buy?

please show working out because that is waht is confusing me =P

thx in advance