Help with Criteria Patterns in Workflows

Help with Criteria Patterns in Workflows

I'm trying to understand the proper placement of the 'and' 'or' and '(' ')' items in the Criteria Pattern field. I have some that work and some that don't.

Scenario 1:
The department has multiple email addresses. The default rules for sending notifications are disabled and everything is done by workflow.
For this example, 'workflow 1' I want an action triggered if
  1. the email address the request was sent to is 'example1@fakeemail.com'
  2. AND the subject contains any of the following
    1. 'Example1'
    2. OR
    3. 'TestForExample1'
    4. OR
    5. 'StartOfExample1' ONLY IF THAT SUBJECT ALSO INCLUDES 'EndOfExample1'
Here's what I have:
Criteria
To Address - is - example1@fakeemail.com
AND
Subject - contains - Example1
OR
Subject - contains - TestForExample1
OR
Subject - contains - StartOfExample1
AND
Subject - contains - EndOfExample1

My Criteria Pattern is: ( ( ( 1 and 2 ) or 3 ) or (4 and 5 ) )

This will trigger the action as requested BUT even if the to email address is a different one for the department, it will still trigger it. I'm guessing that is due to 'or (4 and 5)' but I'm not sure how to adjust it so that 4 and 5 have to both be present along with 1 but not require 2 or 3.

I've not been able to locate any guidence on how these patters are supposed to work so if that is out there, please feel free to point me in that direction.