http://hi.baidu.com/zzz700/blog/item/c9c46740296b2e3bcffca382.html
C=income so the income=(16-R)*10+20
put the income equation into the U(R)= (16-R)*10+20-(12-R)^2, so the du/dr=2r=14, R=7
because of the question want to get the optimality work time, so the work time is 16-7 =9