Three consecutive terms of a geometric progression are give as n – 2, n and…