The equipment class has Unit property which specify from which unit it belongs to.
So Query will be
Search for items of type "Equipment" (including these properties) (sorted)
UnitHas Named Item (reversed)
Then you only need to change the where clause;
UNIT equal to Unit1