So for this next equation

(a-b )d = b(c- d )
d=[ ]
can I divide both sides is this equation by a-b would it safe t0 say d=db or d= bc-bd
a-b

I answered below but

d = b(c-d)/(a-b)