已知x+y+z=36,2x-y+z=18.求当x-y=1时,z的值