pattern Determine the next image in the sequence