Let the main current be I. Current through galvanometer Ig = 0.05I. Current through shunt Is = 0.95I. Since they are in parallel, V_g = V_s => Ig * G = Is * S. (0.05I) * G = (0.95I) * S. S = (0.05/0.95) * G = (1/19) * G.