c-d/d-c
(x-d)/(d-c) then you would get -1 (just like 5/-5 = -1)
You can ask a new question or answer this question.