Julia spent $56 on a book. the cost of the book was $24 less than twice what she spent on a backpack. how much did the backpack cost? express your answer numerically in dollars