A mutation that occurs in nerve cells or brain cells would only affect the individual organism and not future generations. This is because mutations in somatic cells (like nerve and brain cells) do not get passed on to offspring.
In contrast, mutations in germ cells (such as sperm cells and egg cells) can be inherited by future generations. Therefore, the correct answer to your question would be Nerve cell and brain cell.