Edugoog
Since (x - 2) is a factor, so x = 2 will make (x2 + 3qx - 2q) zero.So, 4 + 6q - 2q = 0 or q = -1.