The answer is 2,3-dimethylpentane.
If you named it 3,4-dimethylpentane it is wrong. We must always begin numbering the carbon atoms of the parent chain from the carbon atom closest to the first branching group.