6/9 just multiply both parts of the fraction by 3
x = total amount of gumballs
let's start subtracting the balls she's giving away


and we also know that after all that has been subtracted, she's only left with 5, so we can say that

I got 20.89, and nearest to the whole number would be 20.