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.
5.8m questions
7.6m answers