Solve for d -1/2d=3(2/3d-1)+2(1/6d+2)