Here, first term a=3 and common difference d=4.
Let there be n terms in the given A.P. Then, nth term =407 ⇒407=3+(n−1)×4 ⇒n=102
So, there are 102 terms in the given A.P.
Now, 20th term from the end =[102−20+1]th term from the beginning =83rd term from the beginning =3+(83−1)×4=331