Question 1067395
.
Your formulation is absolutely WRONG.


Who is your point D ???



It has no any relation to the problem.


So, yopu can not write correctly a single line condition.


What are you doing there ???