How do you calculate the amount of possible solutions to this two-part lock?

Printable View