a)
We know that the power is given by:
where V is the voltage and I is the current. In this case the voltage is 6 V and the power is 0.51 W; plugging these values and solving for the current we have that:
Therefore, the current is 0.085 A.
b)
Using Ohm's law we have that:
Therefore, the resistance is 70.59 Ohms