The sequence {an} is an equal ratio sequence, m, N, P are equal difference sequence, if am = 4, an = 6, then the value of AP is equal

The sequence {an} is an equal ratio sequence, m, N, P are equal difference sequence, if am = 4, an = 6, then the value of AP is equal

Let the tolerance be D and the common ratio be Q
M. If n and P are arithmetic sequence, they can be regarded as m, M + D, M + 2D
AM=a1*q^(M-1)=4
An = am * q ^ (n-m) = 4q ^ (M + D-M) = 4q ^ D = 6, that is, Q ^ D = 3 / 2, then q ^ 2D = 9 / 4
Then AP = am * q ^ (P-M) = 4q ^ (M + 2d-m) = 4q ^ 2D = 4 * 9 / 4 = 9
AP=9