(a) The voltmeter is in parallel with the resistor it measures, so together they act as
Rp=10+1010×10=5 kΩ
This 5 kΩ is in series with the other 10 kΩ, and the 12 V divides in proportion to resistance:
V=12×5+105=4 V
The voltmeter reads 4 V, not 6 V: it draws current itself and lowers the potential difference it is trying to measure.
(b) Now Rp=10+100010×1000≈9.90 kΩ:
V=12×9.90+109.90≈5.97 V
The reading is now very close to 6 V. This is why a voltmeter is made with a very high resistance.