We know that sum of n A.M.'s between two quantities is equal to n times their single mean.
Now x,y,z are three A.M.'s between a and b
x+y+x=3(a+b2)=15
or a+b=10...(1)
a,x,y,z,b are in H.P.
∴1a,1x,1y,1z,1b are in A.P.
∴1x+1y+1z=32(1a+1b)=3(a+b2ab)
or 53=32ab.10, by (1) ∴ab=9 ...(2)
Hence a and b are the roots of
t2−10t+9=0, by (1) and (2)
∴t=9,1 are the required values of a and b.