In a GP of positive terms, if any term is equal to the sum of next two terms, find the common ratio of the GP.