Answer:
number of fictions 972
non-fiction number 972/3 = 324
x= the number of books given in each category the same number of books is given
in the end there is 4times more fiction
972-x=4(324-x)
972-x=1296-4x
-x+4x=1296-972
3x=324
x= 108
the bookseller gave away 108 fiction books
verification :
972-108=864 fiction left
324-108=216 non fiction remaining
216*4=864
Explanation: