found a simpler solution for Positive:
(x(m+a-11))^2+((x-1)(m+a+10))^2
simply than a sum of squares... maybe idk