Ответ:

Here's the order of the events:
a) The frog sleeps in the princess's bed. (3)
b) The king tells the princess that she must take care of the frog. (2)
c) The frog helps the princess to find her ball. (1)
d) The princess invites the frog to the castle. (5)
e) The frog turns into a prince. (6)
f) The frog comes to the front door of the castle. (4)