Find the number of triplets $(A,B,C)$ where A,B,C are subsets of $\{1,2,3...8\}$ such that $ A \cap B \cap C = \phi $, $ A \cap B \neq \phi $, $ B \cap C \neq \phi$.
Edit: My approach, split the space into $A, B, C, A \cap B $, $ B \cap C $, and universal. So each element can be placed at $6$ places that is $ 6^8 $ now you cannot have the $ A \cap B $ and $ B \cap C $ empty so subtract the case when they are empty. That is $ 2\cdot 5^8 $ . Which doesn't seem right.
Your idea was OK, but some corrections are needed . . .
There are $7$ mutually exclusive locations for an element to be placed, namely
By hypothesis, we have $A\cap B\cap C={\large{\varnothing}}$ which allows us to consider $7$ locations rather than $8$. It's also what allows us to claim that the three pairwise intersections are mutually exclusive.
Applying the principle of inclusion-exclusion $$7^8-2{\,\cdot\,}6^8+5^8=2796194$$ is the count we seek.
Explanation: