Solution 1.
Let us suppose one Part is x and other part is y.
As per given condition
(4/7)x = (2/5)y
Or
10x = 7y
Or
x = (7/10) y
As x and Y are two parts of number so their sum will be equal to that number.
Hence x + y = 34
or (7/10) y + y = 34
Or
17 y = 340
Or y = 20
And x = 34-20 = 14
Hence correct option is d.
Solution 2 :-
As above
10x = 7y
Now check all the options one by one, and the correct answer will satisfy this condition.
Only option d satisfies this condition and hence option d will be the correct answer.