After eating a hearty meal they went to see the Buckingham palace. There were 39 paintings in the Buckingham palace. There, Rachel learned that 22 visitors came to the Buckingham palace that day. If there were 5 visitors the previous day How many more visitors visited the Buckingham palace on that day than on the previous day?
There were 39 paintings in the Buckingham palace. There, Rachel learned that 22 visitors came to the Buckingham palace that day.

So we know that there were 22 visitors that day. If there were 5 visitors the previous day, that means that there were 5 + 22 = 27 visitors in total. 

Now we just need to find out how many more visitors visited the Buckingham palace on that day than on the previous day. We can do this by subtracting the number of visitors on the previous day from the number of visitors on the current day. In this case, that would be 22 - 5 = 17.