You can be gone six months (actually 180 days is safer). There really isn’t a policy about whether you’re gone in one stay or multiple stays or how long between stays. This is more important for your Citizenship later, but people can actually be gone longer without forfeiting their green card, but will get a lot more questions. I really see nothing in the policy or having heard people have problems with traveling under six months. Maybe with the new climate, they may ask more questions, but there is absolutely nothing in the guidance that says Anything under 180 days is a problem regardless of the combination of the trips.