Answer:
first get their difference and then get positions of the difference and get the factors and then you will get the nth term