Y-of-Y step-by-step derivation