We have been given that Jasmine has 5 books and she wants to read the nonfiction book first and the mystery book last. It means that the time of reading of 2 books are fixed. Now she has 3 books which she needs to arrange.
Now, we know that n different things can be arranged in n! ways. We can use this concept to find the number of different orders can she read the books.
Using the above concept, 3 books can be arranged in 3! ways.

Therefore, there are 6 different orders in which she can read the books.