Let's say B (2nd row in your plot) is nested within A (first row) and C (third row) and B are crossed. Then I'd use this model:
Y ~ B/A + C * (B/A)
You first specify that B is nested within A, then the 2nd summand tells R that additionally, C should be crosse with B nested within A.