Palm trees are to be planted along 2 different hiking paths A and B of distance 3780 m and 4680 m respectively.A palm tree is to be planted at the beginning and at the end of each path.The distance between any two consecutive palm trees on both paths are the same.

(a) Find the greatest possible distance between two consecutive palm trees on both paths.

(b) How many paths trees are to be planted on both paths altogether?