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