`x_A = 3t, y_A = t`
At `t = 1, x_A = 3 and y_A = 1`
So, coordinates of article `A` is `(3,1)`.
`x_B = 6, y_B = 2+3t^2`
At `t = 1, x_B = 6 and y_B = 5`
So, coordinates of article `B` is `(6,5)`.
`:.` Distance between `A` and `B = sqrt((6-3)^2+(5-1)^2) = sqrt25 = 5.`