run whatever gauge wire to a distribution block and then the distribution block distributes one power wire to sub amp and one power wire to comp. amp, then ground each of the amps. not hard.
as long as the power wire is good enough for the total amperage running through it you would be better off to run one power wire and a distribution block and a power wire from there to the other amp