Reply To: Discount one night

Please, could you show me an example with nested condition? I do not understand how to apply the code to this case:

If guest stays 7 days or more and 3 or more persons reserving the price decreases by 100€/Reservation
If guest stays 7 days or more and 1 or more persons reserving the price decreases by 75€/Reservation

I have enabled this filters in the resource:

If 1 or more persons reserving the price decreases by -25,00 €/day
If 3 or more persons reserving the price increases by -0,00 €/day

Base price per billing unit: 100€

Thanks.