the equation is (a-b) ((a-c)/2b)....and the final answer is (a+c)/2...How do we get here?
There is absolutely no point in reposting the same question.
You have been told that the must be a typo some where.
It is impossible to derive that answer from that expression. Is there more to the problem that you have told us?