Step 1: Draw a 3x2 table and on top and right, just put the digits:
Step 2: Draw the diagonals and write the digits in the boxes:
Step 3: Add the digits along the diagonal and write them from the left side to the right side:
So, the total cost of all books = $19,306