As you said, there are two ways, one is that the two parts are connected through a certain connection mode, so the specific connection mode should be defined, and the connection cannot be written only;
If it is a whole, there is no need to write a connection. Just describe what kind of structural integrity they are.
To protect both, it can be written as "1 and 2 are two parts of ..."