This video discusses it in the context of a PA system, but it's relatively easy to extrapolate to a guitar or bass amp. It's probably the most useful quick & dirty not too technical presentation I've seen on the topic.
What I've been told over the years by people who know a lot more than me about the technical details of this stuff:
A: Series vs Parallel.
When you add a cab you need to know whether the two cabs end up being wired in series or in parallel with each other.
Most times with an instrument amp, adding a cabinet puts the additional cab into parallel with the first cabinet.
When you combine speakers in parallel, you divide the impedance. So two 4 ohm speakers in parallel will have a combined impedance of 2 ohms. (4 ohms divided by 2 cabinets = 2 ohms total)
If you combine speakers in series, you add the impedances. So two 4 ohm speakers in series will have a combined impedance of 8 ohms. (4 ohms + 4 ohms = 8 ohms)
AFAIK no instrument amps expect multiple cabs to end up wired in series.
B: Impedance and amplifiers
Amps are most efficient (i.e. loudest and run coolest) when driving the speaker impedance they're designed for. So an amp that has a 4 ohm impedance rating will perform best when seeing a 4 ohm speaker load.
You can put a higher impedance load on an amp than its nominal impedance rating. So you can get away with putting an 8 ohm load on an amp designed for a 4 ohm load, but you'll make the amp work harder and get a drop in volume because there's more electrical resistance with the higher impedance.
You should never put a lower impedance load on an amp than its nominal output impedance rating, because you'll risk severely damaging your amp and your speakers.
Most of the today's amps are designed for multiple output impedances, usually assignable by a switch. So if your amp had a choice of 2 or 4 ohm output settings, some quick arithmetic will tell you the combinations of cab(s) that will work with that amp.
Rule: All cabinets must have the same impedance. Divide the impedance by the number of cabinets.
So on an amp with a selectable 4 and 2 ohm speaker impedance setting:
For 4 ohms: 1 cabinet at 4 ohms, or 2 cabinets at 8 ohms each. (i.e. 4/1 or 8/2 = 4)
For 2 ohms: 1 cabinet at 2 ohms, 2 cabinets at 4 ohms, or 4 cabinets at 8 ohms. (i.e. 2/1 or 4/2 or 8/4 = 2)
C: Power and speakers
Generally, you'll want to match your speaker cab's power handling rating fairly closely to your amp's continuous (or RMS) output power. There's some debate about whether it's better that the amp's power should exceed the speaker rating by a certain percentage. But I'll leave that for others who know more than me to argue over. I try to make sure my speaker's power rating equals or exceeds the output power rating of the amp I'm plugging it into. So if my amp was putting out 500 continuous watts, I'd want my cab (or cabs) to be rated to handle 500 continuous watts as well.