A compound mistakenly named 3,4-dimethylbutane should be named correctly as:
1-methylpentane
2-methylpentane
4-methylpentane
The longest chain contains 5 C-atoms. hence named as 3-methyl pentane