Given that 4,p, q and 13 are consecutive term of an arithmetic progression find the values of p and q

a=4

a+d = p
a+2d = q
a+3d = 13 , 4+3d=13
3d = 9
d = 3

sequence is 4, 7, 10 ,13