This question is based on Baye's Theorem. The joint distribution of x1, x2, x3, x4, x5 and x6 is represented by P(x1, x2, x3, x4, x5, x6).
P(x1, x2, x3, x4, x5, x6) = P(x1) × P(x2 | x1) × P (x3 | x1) × P(x4 | x3 | x2 | x1) × P(x5 | x3 | x2) × P(x6 | x5)
As we can see in join distribution, along with the element we must write its immediate parent as well.
Thanks bhai❣️
Why didnt we take X1 X2 X3 as parents of X4?
thanks for the solution