What is the ratio whose terms differ by 40 and the measure of which is 2/7.