If a current of 1A passing through a circuit generates 8W of power, what is the resistance of the circuit?