I have a strong feeling it has to do with something between the line AD, but my problem is that I do not know how to determine how many coordinates of that line are a combination that will yield a minimum profit.

Any help would be greatly appreciated!

Thanks in advance!