x/a+AD/b=1
AD=b-bX/a
y=x*AD=bx(1-x/a)
=(b/a)(-x^2+ax)
=(-b/a)[(x-a/2)^2-(a/2)^2]
=(-b/a)(x-a/2)^2+ab/4