No body makes that for a good reason.
That's because the speaker output will overload the RCA inputs, or damage the amplifier, or both.
If you have a powered sub with RCA in, you can only connect line level to it. NOT speaker level.
You need a preamp / receiver / integrated amp with
preamp or subwoofer RCA outputs. That's it, sorry, no go.