Based on the simulator/my stats

Will fail if 5 flawless synthesis fails (has an additional careful synthesis at the end):




Will fail if 2 flawless synthesis fails (replaces the careful synthesis at the end & add a unbuffed hasty touch before the last steady hand.




This is a 3-4 button macro depending if you have the echo commands or not.

You could have two different macros for macro 3. If 0-1 flawless synthesis fails you could activate the macro which has that extra unbuffed hasty touch or if 2-5 flawless synthesis fails then the macro which has that extra careful synthesis 2 at the end instead of the unbuffed hasty touch.