Let R be the voltmeter resistance,
If the voltmeter has to read 20V at full scale deflection, we need an additional resistance r in series with it. Thus
5R=20R+r...........(1)
since the voltmeter is graded as 5000 ohms/V for full scale deflection of 5V.
R=5000×5
From (1)
15000=2025000+r
r=75000 ohms