The correct option is D 0 Ω
From given diagram, equivalent resistance of circuit will be
Req=2+5+x=(7+x) Ω
So, current in the circuit is given by
i=E7+x
Power generated in 5 Ω is
P=i2R=(E7+x)2×5=5(E7+x)2
Power will be maximum when (7+x) is minimum i.e. for x=0.
Hence, option (d) is correct.