She began with 20.
If she bought 7 more books and ended up with 17, that means she had ten beforehand. If she had half remaining, we simply double it, thus getting 20.
8.6m questions
11.2m answers