Problem 6.8. There are exactly 120 ways to color five cells in a $5 \times 5$ table so that each column and each row contains exactly one colored cell.

There are exactly 96 ways to color five cells in a $5 \times 5$ table without a corner cell so that each column and each row contains exactly one colored cell.

How many ways are there to color five cells in a $5 \times 5$ table without two corner cells so that each column and each row contains exactly one colored cell?
![](https://cdn.mathpix.com/cropped/2024_05_06_0973a8d23c1bf92cb27dg-18.jpg?height=258&width=1008&top_left_y=530&top_left_x=220)