Petra has three different dictionaries, and two different novels on a shelf.
How many ways are there to arrange the books if she wants to keep the dictionaries together and the novels together?