    Sentence 1: What are two basic primary resources  used to guage complexity?    Sentence 2: The theory formalizes this intuition, by  introducing mathematical models of computation to  study these problems and quantifying the amount of  resources needed to solve them, such as time and  storage.