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