Four arithmetic means are inserted between two numbers such that the ratio of the first inserted mean to the last inserted mean is 7:13. If the sum of the two original numbers is 40, the common difference of the entire progression is
(a) 5
(b) 8
(c) 4
(d) 6