Yes the pd across V2 and the resistor R is 2V and yes the resistance of the combination of voltmeter and resistor R in parallel is 5Mohms.
But that 5Mohm is the combined resistance of R and the 10Mohm voltmeter in parallel, not just R.
This gives a value of 10Mohm for R, which when combined in parallel with the 10Mohm meter equates to 5Mohm.