Answer
RMS current $=0.333A$
Peak current $=0.471A$
R=$360Ohm$
Work Step by Step
Average power = $40W$, RMS voltage = $120V$
$P=I^{2}R=IV$
RMS current = $\frac{40}{120}=0.333A$
Peak current = $\sqrt 2\times0.333=0.471A$
Resistance = $\frac{V_{RMS}^{2}}{P_{avg}}=\frac{120\times 120}{40}=360Ohm$