maximize sqrt(8 * 2* (8-x)(8-(10-x))