Well she ended up with 5 dollars. This means that her remaining money at the end was 10$. Now she bought a bag for 41$ and a book for 29 so 10 + 41 + 29 = 80.
Penny originally had 80$, and frankly she bought a book for way too much. Hope this helps.
-G