
Explanation:
Box 1: Group2 only
* Group2 - Yes
Microsoft 365 group expiration policy
You can set an expiration policy only for Microsoft 365 groups in Microsoft Entra ID.
Administrators can specify an expiration period and any inactive group that reaches the end of that period, and isn't renewed, will be deleted.
Box 2: 30 days
The group lifetime is specified in days and can be set to 180, 365 or to a custom value that you specify. The custom value has to be at least 30 days.
Reference:
https://learn.microsoft.com/en-us/microsoft-365/solutions/microsoft-365-groups-expiration-policy