Complex sentence: The second piece is shorter and a little narrower; one end contains a hook like that of the first piece, and the other end fits into the lock on the other piece.
Split into simpler sentences: The second piece is shorter and a little narrower. One end contains a hook like that of the first piece, and the other end fits into the lock on the other piece.