At a used bookstore, you can purchase two types of books. You can use the expression 3h+2p to find the total cost (in dollars) for h hardcover books and p paperback books. What is the total cost (in dollars) for 6 hardcover books and 4 paperback books?