q = 1 y = 1 first invocation = 15 q = 2 y = 2 second invocation = 17