\[a + 5x = d - x\]
\[5x + x = d - a\]
\[6x = d - a\]
\[x = \frac{d - a}{6}\]
\[Ответ:\ x = \frac{d - a}{6}.\]