It doesn’t have to begin and end with both, your story could start with the starting prompt but not end with the ending prompt, or a story could end with the ending prompt but not begin with the starting one. All you need to do it start your story with the start they give you, write a story about a monster in a closet, or end your story with the ending lines from the last prompt, it’s your choice which!