kaitlin bought some books. she spent a total of 45 after a discount of $6 off her total purchase. Each book cost $3. How many books did she buy