Time period of oscillation is given by T=2πgl , here, l is length and g is acceleration due to gravity.
From above relation, we have g=4π21lT2.
Fractional error in g is stated as
gΔg=T2ΔT+lΔl
⇒gΔg×100=2×100×0.51×100+10cm1mm×100
⇒gΔg×100=1005×100=5
Hence, value of x=5.