Answer: She used imagination and spatial-temporal reasoning
Step-by-step explanation:
spatial-temporal reasoning is the ability to gestate the three-dimensional relationships of objects in space and to mentally manipulate them as a succession of transformations over a certain time. Also note that it is an area of artificial intelligence which comes from the fields of computer science, cognitive science, and cognitive psychology.