It is given that 3 hotels must be occupied.
Since Joanne and David are always staying together they are to be counted as 1 unit. There are three other ppl left, so together there are 4units.
so in nPr, n=4 and r=3.
Then the number of possibilities is 4P3.
However, there are 4 units and 3...