sum (sum (x+y) y=6 to 8) x=1 to y-1