50+x=2(250-x),
Solution: x= 150 (Ben),
250- 150= 100 (Ben),
That is, the school library used to have 150 science and technology books and 100 story books.