solve for x, d = (2(100-x)100)/(5*100*x -2x*100-5*100*min(100/10,x*59/100)), d > 0