If A and B are both ideals, then A+B is an ideal. How can you show this?
What do elements from this ideal look like? Take an arbitrary element of this ideal and multiply it by an arbitrary ring element. Then apply the fact that multiplication in a ring is distributive.