For first series,
a1=3,d1=4
For second series,
a2=1,d2=5
For both series, first common term =11
second common term = 11+LCM(4,5)=31
So, common term sequence is 11,31,51,…
∵ last term ≤2019
⇒11+(n−1)20≤2019
⇒n≤101.4
Hence, number of common terms is, n=101