A charge of 18 C passes through a circuit every 12 s. If the circuit can generate 4 W of power, what is the circuit's resistance?