Let
be the number of non-fiction books. We deduce that the number of fiction books is
, since they are twice as much.
Since the difference between the two numbers is 17, we have
![2x-x=17\iff x=17](https://img.qammunity.org/2021/formulas/mathematics/middle-school/49idpohw7n5upwtwwwvbd8y88zpw95b6sa.png)
So, Henry has 17 non-fictional and 34 fictional books, for a total of 51 books.