Assuming you know how to solve a standard 3x3, you will have to solve every cube separately. The problem is off course that there's a block of 2 corners and 1 edge that can't be separated, so I think it would be best to use those in the first layer. You will also need algorithms that don't need separation of the blocks (still following?). For example: H-perm (M2 U M2 U2 M2 U M2) will leave the block in the first layer complete. You can take a look at the wiki for such algorithms.