已知x:y:z=3:4:7,且2x-y+z=-18,求x+y+z.