It's better to buy a matched set that have been binned, tested and sold as a set. Next best thing is to get identical sticks - brand, model, size, speed and timings. If you mix sets that are not matched and not identical they may not play well with each other or with your mobo or CPU.
If they do work, and your system boots, you can check what your system has defaulted them to either in your BIOS DRAM settings or using software like CPUID under the Memory and SPD tabs. The default is likely to be the lowest common denominator when it comes to speed and timings and voltage.
You can manually adjust the timings and voltage in BIOS, but they can't be set for individual or pairs of sticks. Whatever settings you input are going to be applied to all of the installed sticks.
As far as installation configuration, assuming you have two pairs of each type, try one pair in A1 and B1, and the other in A2 and B2. If that doesn't work try swapping the pairs to the opposite slots, i.e. A1<->B1, A2<->B2. If that doesn't work, swap the two sticks from A1/B1 <-> A2/B2.