How to input Schedule K-1 if boxes 1 and 2 have values and different entities in Schedule K-1, Box 20, Code z?

I have a K-1 that have values in boxes 1, 2, 17, 19, 20. I read that I need to need to split this K for box 1 and 2. But I also have 3 entities in Statement A—QBI Pass-through Entity Reporting (Schedule K-1, Box 20, Code Z). One is the "main" entity issuing the K-1 and another 2 entities with no EIN number that have rental income (loss). I'm a bit lost in how many K-1 I need to break this into? And where should I report the 19 distributions.