Given that the first and forth terms of G.P are 6 and 162 respectively, find…