Sub is pretty much flush, only reason it sticks out is beacase of the grille.
If it was ordered with a 10" sub (depending on the sub) and no grill you could lay your carpet right over the sub. Again no grille. I have seen other members build the box and lay the carpet right over the woofer.
#2 option is to have the styrofoam black piece over the box and lay the carpet over it as well. this will raise the floor about 3/4" or so.
All this without spending an extra dime.
If you were to lay them on the ground this is how it would look upside down.