Binary decision diagram for a six-figure Boolean function
So finally this should be the correct solution:

The variable ordering is $x_{0} &lt; x_{5} &lt; x_{1} &lt; x_{4} &lt; x_{2} &lt; x_{3}$. The BDD is: