When drafting a patent, I need to use two parts A\B. Part A has two types, A1 and A2, and part B has two types, B1 and B2. So how should I write the independent rights?

According to the situation you provided, I wonder if there are any precautions, such as whether A1 needs to be matched with B1, whether A2 needs to be matched with B2, etc. So for now we can only write like this, as follows,

First find out the independence of A1 and A2&&&, the independence of B1 and B2***,

1, A ###, including A and B, characterized by, A&&&,B***.

2, (Subsidiary claim) As claimed in claim 1, the A ……(Description of A1)

3, (Subsidiary Claim) As stated in ### of claim 1, said A……(Description of A2)

4, (Subsidiary claim) As stated in claim 1, the B... (description of B1)

5, (Subsidiary claim) As stated in claim 1 The ###, said A... (narration of B2)