By using the equation
V=I×R
The total internal resistance is given as
46+r
Substituting in above equation we get
(46+r)=50Ω
Which gives the value of resistance is4Ω