@Anand273 It is not clear what you want to achieve but you may need multiple listings such as:
Listing A - 1 room in a shared house
Listing B - 1 room is a shared house
Listing C - 2 rooms in a shared house (or a whole home).
Then link calendars A and C plus B and C to avoid double bookings.