well, she really began with "x" total.
then she sold half of that, so hmmm 1/2 of "x" is just x/2 and she's left with half, so she sold x/2 and she was left only with x/2, and then she bought 17 more, we also know that she has 31 now, so
6.3m questions
8.3m answers