\(B=\left(\dfrac{1}{9}-\dfrac{5}{7}\right)+\dfrac{3}{6}+\left(\dfrac{-12}{17}+\dfrac{-1}{2}\right)+\dfrac{5}{9}.\)
\(B=\dfrac{1}{9}-\dfrac{5}{7}+\dfrac{1}{2}-\dfrac{12}{17}-\dfrac{1}{2}+\dfrac{5}{9}=\left(\dfrac{1}{9}+\dfrac{5}{9}\right)+\left(\dfrac{1}{2}-\dfrac{1}{2}\right)-\dfrac{5}{7}-\dfrac{12}{17}=\dfrac{2}{3}-\dfrac{5}{7}-\dfrac{12}{17}=\dfrac{238-255-252}{357}=\dfrac{-269}{357}.\)