Rears are switchable. OP, looks like you already have it wired correctly. If you haven't already, switch rear output to sub.In a lot of cases the rear HU outputs are switchable rear/sub.If you set them to sub you'll have a few sub controls from the HU -- sub volume, maybe a crossover.
If you have that option you should run the rear/sub channels to the sub inputs and the front pre-amps would connect to the 4 ch using y cables.
If the HU is NOT switchable - it doesn't make much difference whether you run the rears and sub with y cables or fronts/rears.