. . "I need to find out the theta notation for the number of times the statement x = x + 1 is executed, assuming that n is a positive integer in both cases." . .